APK not working made from Android Studio V 2.3.3

醉酒当歌 提交于 2019-12-08 11:24:31

问题


I have updated my Android Studio from 2.3.2 to 2.3.3.

Now, when I try to install APK generated in \app\build\outputs\apk, the App gets installed but it just flicks and exists.

It used to work fine before but it's not working since yesterday, and I have tried 2-3 different projects also but no use.


回答1:


Your manual way of generating APK is not generating the correct APK, so i am Suggesting these way to generating APK for Manual Install:

For Debug Build

  • Delete you build folder inside the App folder.
  • Goto Build>Build APk. it will generate .apk file in your app>build>output>apk directory.
  • COPY it your device and install manually.

For Release Build

  • Delete you build folder inside the App folder.
  • Goto Build>Generate Signed APk and provide recomended Details, make sure your Build type : release and have checked both signature version v1(jar signature) and v2(full apk signature) . it will generate .apk file in your app>build>output>apk directory.
  • COPY it your device and install manually.


来源:https://stackoverflow.com/questions/44591639/apk-not-working-made-from-android-studio-v-2-3-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!