Where is APK file stored after phonegap android build is successful?

前端 未结 6 2237
陌清茗
陌清茗 2020-12-30 04:48

I don\'t understand where can I find my package that is compiled so I can copy it into my device and install it from there.

What I did is create an empty project, th

6条回答
  •  梦毁少年i
    2020-12-30 04:58

    You can change the name of the app after to create the project, in the file:

    ProjectFolder/www/config.xml

    After that, you have to build again the project. If you want the release version, go to

    ProjectFolder/platforms/android/cordova

    and then execute the command:

    cordova build --release

    This creates an unsigned release APK at ProjectFolder/platforms/android/bin folder, called YourAppName-release-unsigned.apk.

提交回复
热议问题