You should check from my app inventor tutorial here.
Change Package Name
First, you should know that the package name of the app created with AppInventor is like
So, If we want change our
appinventor.ai_felipe_moreno_v.rgobeApppackage name to
com.rolnomev.rgobe, we must follow this steps.
Then, Build your apk project from AppInventor. My apk is named rgobeApp.apk.
Then, I uncompress my apk file writing this:
java -jar apktool_2.3.1.jar d rgobeApp.apk
This command generates a file directory with name
rgobeAppof our android project like:
AndroidManifest.xmland other files in project, I used Gedit:
Also, you must change files in
/smali/appinventor/ai_felipe_moreno_v/rgobeApp/(in this case).
Modify in these file the regular text from Lappinventor/ai_felipe_moreno_v/rgobeApp/ to Lcom/rolnomev/rgobe in all files of that directory path.
Next, create directories path as your new package name like:
Next, copy files from
/smali/appinventor/ai_felipe_moreno_v/rgobeAppto new dir
Once your finish to replace all coincidences, yo should to rebuild the apk, writing this:
java -jar apktool_2.3.1.jar b rgobeApp
Now, you can install your apk in your mobile phone and enjoy your app with new package name.
You can upload your apk in google play with your new package name, instead the package name that appinventor gives you by default.
Maybe this method will be deprecated as time passes.