I am using Eclipse 4.2 with Android SDK.
I am wondering if it is possible to change the default package ID com.example
that shows in the "New Android Application" wizard as you type the application name?
I would like it to default to my own package ID so that I don't need to correct the Package Name field each time.
Is this possible to do? Please explain how.
For anyone coming here in 2020, the file you are looking for is other.xml It can be found in your AndroidStudio library under config/options/other.xml (For mac this is probably ~/Library/Application Support/Google/AndroidStudio4.1/options)
Then you can follow the instructions by @Murillo Comino
<property name = "SAVED_ANDROID_PACKAGE" value = "com.example" />
EDIT:
As per @Douglas Kazumi 's comment, it is important that AS will be closed while editing this.
I'm not sure why so many people have right answers with wrong file location...
I've installed android studio 2020.3 with all default settings and the file others.xml
is in folder
C:\Users\MYUSER\AppData\Roaming\Google\AndroidStudio2020.3\options
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With