How to change package name of an Android Application

后端 未结 18 1284
攒了一身酷
攒了一身酷 2020-11-28 02:07

My keystore is corrupt, therefore the Android Market is requiring me to rename the app and resubmit it. However, whenever I go to edit the package names in Manifest and thro

18条回答
  •  Happy的楠姐
    2020-11-28 02:38

    Here's how you could do this in Eclipse:

    1. Right-click on the package name (src/com.android.gesture.builder).
    2. Select Refactor > Rename and change the name, for example to com.android.gestureNEW.builder.
    3. Open the manifest file. Inside the tag, change the package name to com.android.gestureNEW.builder.
    4. Open each of the two Activity files and do Ctrl+Shift+O to add missing import packages, then save each file.
    5. Run the GestureBuilder application on the emulator.

    Link to post

    Update super easy way right click on your project... enter image description here

提交回复
热议问题