Reputation: 9
I have an epic code source and I want to import it to Android Studio, make some changes and rebuild the apk, in the code source I have two folders; one containing the AndroidManifest.xml file, res... and the other folder named sources containing many .java files, how can I do that please?
Upvotes: 0
Views: 194
Reputation: 191738
While sure, you can open any folder in the IDE and it acts as well as any text editor
If you want build functionality rather than just code editing, Android Studio enforces a particular project layout and sources
is not part of that layout
https://developer.android.com/studio/projects#ProjectView
Sounds like you could rename sources to java
and you're close to that structure
You might also want to verify how this old code structure is built. Is there a build.gradle
file? If so, then Android Studio can just import that and it'll usually figure out the rest
Upvotes: 1