Issue
I'm using Android studio and I'm trying to deplicate an existing project to make another new project.
I search in the web and the forum and I found this method:
- copy the folder of the old project and rename it
- change the package name in the
andoidmanifest.xml
directly from disc - do the same with the build gradle file (the file with Java sources)
- open the new project with Android Studio
- make a refact--> rename to change the package name of my souces package
- I open the Java classes and I changed manually the pachage name
- then I tried to make a gradle sync
The problem is that the sync faild and I failed to make my new project.
How can I copy an Android Studio project to a new one?
Solution
I think I had a virtual machine problem. The solution is:
- open file -> settings
- click to compiler
- in the VM option field put the following value:
-Xmx512m
Answered By - Soufiane
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.