How can I rename a project and package name in Android Studio?
I tried to rename all files, classes and variables but when i compile the program without problems, it forces close in Android. Better explanation:
Have a project which i want to rename completely from xxx.example1.xxx to xxx.example2.xxx .
I renamed everything replacing xxx.example1.xxx to xxx.example2.xxx .
I compiled the project without any problems and the apk is generated.
When i install the application and start it, it doesn't work showing me "force close".
I see the debug messages and I notice that "java.lang.NoClassDefFoundError" is still using the old name.
Android Studio is based on IntelliJ IDEA, so these answers should apply:
IntelliJ IDEA: How to rename a project (in "Recent Projects" list)?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.