Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
404 views
in Technique[技术] by (71.8m points)

macos - 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.

When I build App, from folder bin/debug/AndroidSoftware.apk my phone with os Android10 crashed every time.

App crashed on android, work on simulator

App work on android simulator, not responding on android phone..

Is there are way to run my app on sdk29 ?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You could try this:

1.Build your apk on yur simulator and it will automatically creates an APK under binDebug

2.The file you are looking for is the "Signed apk", e.g. com.companyname.MyApp-Signed.apk

3.Install it on your phone.

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...