'App not Installed' Error on Android

前端 未结 30 1469
说谎
说谎 2020-11-22 06:03

I have a program working in the Android Emulator. Every now and again I have been creating a signed .apk and exporting it to my HTC Desire to test. It has all been fine.

30条回答
  •  隐瞒了意图╮
    2020-11-22 06:38

    I faced the issue when I update my android from 2.3.2 to 3.0.1 . If this is the case the IDE will automatically considers the following points.

    1.You cannot install an app with android:testOnly="true" by conventional means, such as from an Android file manager or from a download off of a Web site

    2.Android Studio sets android:testOnly="true" on APKs that are run from

    if you run your app directly connecting the device to your system, apk will install and run no problem.

    if you sent this apk by copy from build out put and debug folder it will never install in the device.

    Solution :go Build ---> Build APK(s) ---> copy the apk file share to your team

    then your problem will solve.

提交回复
热议问题