Which string should I edit to set the fully qualified Qt/Android app name? -
with trivial qapplication in ~/hello compile , deploy through
mkdir ~/hello_build cd ~/hello_build /qt/5.7/android_armv7/bin/qmake -r -spec android-g++ ~/hello/hello.pro make make install install_root=android /library/java/javavirtualmachines/jdk1.8.0_92.jdk/contents/home/bin/keytool -genkey -v -keystore ~/hello/hello.keystore -alias hello-alias -keyalg rsa -keysize 2048 -validity 10000 /qt/5.7/android_armv7/bin/androiddeployqt --output android --verbose --input android-libhello.so-deployment-settings.json --sign ~/hello/hello.keystore hello-alias --storepass mypassword at point see androidmanifest.xml has popped in ~/hello_build/android, , replace
<manifest package="org.qtproject.example.hello" with
<manifest package="com.mycorp.hello" and install
/android/platform-tools/adb install ~/hello_build/android/bin/qtapp-release-signed.apk but when enter android shell
/android/platform-tools/adb shell and check qualified package name, see it's still org.qtproject.example.hello
$ pm list packages | grep hello package:org.qtproject.example.hello which string should edit set qualified qt/android app name? can done in .pro file?
changing package name in ~/hello_build/android/androidmanifest.xml doesn't affect on output file , should set before compiling. why don't define in ~/hello/android/androidmanifest.xml file before compile , deploy command? there reason i've not got it?
Comments
Post a Comment