Build unsigned APK file with Android Studio

前端 未结 19 3066
抹茶落季
抹茶落季 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:36

    You can click the dropdown near the run button on toolbar,

    1. Select "Edit Configurations"
    2. Click the "+"
    3. Select "Gradle"
    4. Choose your module as Gradle project
    5. In Tasks: enter assemble

    Now press ok,

    all you need to do is now select your configuration from the dropdown and press run button. It will take some time. Your unsigned apk is now located in

    Project\app\build\outputs\apk
    

提交回复
热议问题