Build unsigned APK file with Android Studio

前端 未结 19 3070
抹茶落季
抹茶落季 2020-11-28 00:15

I\'m developing an android app with the Android Developer Tool. Now I tried the new Android Studio, everything works fine if connect my smartphone with the pc and directly r

19条回答
  •  孤城傲影
    2020-11-28 00:50

    Steps for creating unsigned APK

    Steps for creating unsigned APK
    
    •	Click the dropdown menu in the toolbar at the top
    •	Select "Edit Configurations"
    •	Click the "+"
    •	Select "Gradle"
    •	Choose your module as a Gradle project
    •	In Tasks: enter assemble
    •	Press Run
    •	Your unsigned APK is now located in - ProjectName\app\build\outputs\apk
    
    Note : Technically, what you want is an APK signed with a debug key. An APK that is actually unsigned will be refused by the device. So, Unsigned APK will give error if you install in device.

    Note : Technically, what you want is an APK signed with a debug key. An APK that is actually unsigned will be refused by the device. So, Unsigned APK will give error if you install in device.

提交回复
热议问题