[英]Error upgrade sdk 29 for android 10-Q from android 9-Pie after building app not responding
I upgrade my android app build on visual studio for mac with sdk 29 to use from android 10 devices.我在 Visual Studio for Mac 上使用 sdk 29 升级了我的 android 应用程序,以便从 android 10 设备中使用。
When I build App, from folder bin/debug/AndroidSoftware.apk my phone with os Android10 crashed every time.当我从文件夹 bin/debug/AndroidSoftware.apk 构建应用程序时,我的带有 os Android10 的手机每次都会崩溃。
App work on android simulator, not responding on android phone..应用程序在 android 模拟器上工作,在 android 手机上没有响应。
Is there are way to run my app on sdk29?有没有办法在 sdk29 上运行我的应用程序?
You could try this:你可以试试这个:
1.Build your apk on yur simulator and it will automatically creates an APK under bin\Debug 1.在你的模拟器上构建你的apk,它会自动在bin\Debug下创建一个APK
2.The file you are looking for is the "Signed apk", eg com.companyname.MyApp-Signed.apk 2.您要查找的文件是“Signed apk”,例如com.companyname.MyApp-Signed.apk
3.Install it on your phone. 3.安装在您的手机上。
Notice :注意事项:
"Use Shared Runtime" inside the project properties/Android Options must be Disabled, otherwise Mono Runtime won't be included and your app will crash on phones where Mono isn't installed.必须禁用项目属性/Android 选项中的“使用共享运行时”,否则不会包含 Mono 运行时,并且您的应用程序将在未安装 Mono 的手机上崩溃。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.