简体   繁体   中英

Why can't I install Flutter app in real Android phone?

I asked a question and here is another question related to this one .

I have uploaded .apk file ( build/app/outputs/flutter-apk/app-debug.apk ) to Google Drive and downloaded .apk file in real Android phone, but I can't install the application is in a real Android phone.

I downloaded the .apk file:

在此处输入图像描述

When I click on the " app-debug.apk " item, the following screen pops up:

在此处输入图像描述

When I click the install button, it loads and displays the following screen:

在此处输入图像描述

Also, the Android version of my Android phone is 8.1.0.

I didn't share the code because I don't think the code has anything to do with this.

Why can't I install Flutter app in real Android phone? I would appreciate any help. Thank you in advance!

There are 2 options:

  1. You can build your app from Android Studio (or another IDE) - Instead of selecting an emulator, select your own Android phone. You have to switch your phone to Developer mode.

  2. Publish your app on Google play console, internal testing or closed testing, add yourself as a tester then install the app. You'll need a Developer account.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM