-2

I have an application with package name as com.test.project1 and I have to use the same code for building another application with package name com.test.project2. My requirement is to rename the package name of the application using gradle, so that I just have to change the package name in the gradle file to build another application using the same code.

I have added applicationId in the gradle file and its working but the directory name is not changing. Since the directory name is not changing I am not getting the GCM registration Id.I don't want to refactor the name manually. Is it possible to change the directory name of an Android application using Gradle?

Phoenix
  • 238
  • 2
  • 12

1 Answers1

0

sure , just place applicationId different. It won't change the directory names, but you it will be different and you can put both in google shop

wojciech_maciejewski
  • 1,277
  • 1
  • 12
  • 28