kwsch / PKHeX.Mobile

Pokémon save editor for Android and iOS!
Other
724 stars 362 forks source link

Unable to build for Android #2

Closed fefo-dev closed 4 years ago

fefo-dev commented 4 years ago

Hello.

I was unable to build an apk after setting up my computer with the latest Visual Studio and Android Studio, about a month ago. Probably a mistake of my part, but it wasn't anything I could solve at my skill level. Can someone help me, or provide a working build?

I'll try it again and put the results here later.

Thanks

fefo-dev commented 4 years ago

Tried to reproduce my errors, with my phone connect by chance, and it all went well. Wasn't aware of that, sorry. The apk works, i.e. does nothing, so there's that.

aecarvalho commented 4 years ago

Tried to reproduce my errors, with my phone connect by chance, and it all went well. Wasn't aware of that, sorry. The apk works, i.e. does nothing, so there's that.

But by any chance did you create a working build?

fefo-dev commented 4 years ago

Yes I did. There is a basic interface in place, but no functionality.

aecarvalho commented 4 years ago

Yes I did. There is a basic interface in place, but no functionality.

So it can't edit a 3DS "main" save file? Could you please send me the apk on my email acajcarvalho@gmail.com if possible? Would be much appreciated, thanks in advance

fefo-dev commented 4 years ago

There's zero funcionality whatsoever, but be my guest since I got a backup. Uploaded here, to expire tomorrow if @kwsch isn't about it: https://easyupload.io/jow7f1

aecarvalho commented 4 years ago

Thanks so much, I definitely would have built on my own if I had a PC, or even better - I would simply use the PC version of PKHeX of course, my friend uses Android Suite, not Xamarin Forms project so he couldn't help either, anyway it crashes on boot, tested on both android 9 and 10, gives a log such as:

java.lang.RuntimeException: Unable to get provider mono.MonoRuntimeProvider: java.lang.RuntimeException: Unable to find application Mono.Android.Platform.ApiLevel_28! at android.app.ActivityThread.installProvider(ActivityThread.java:6588) at android.app.ActivityThread.installContentProviders(ActivityThread.java:6076) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5982) at android.app.ActivityThread.access$1200(ActivityThread.java:201) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1679) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6861) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873) Caused by: java.lang.RuntimeException: Unable to find application Mono.Android.Platform.ApiLevel_28! at mono.MonoRuntimeProvider.attachInfo(MonoRuntimeProvider.java:38) at android.app.ActivityThread.installProvider(ActivityThread.java:6583) ... 10 more Caused by: android.content.pm.PackageManager$NameNotFoundException: Mono.Android.Platform.ApiLevel_28 at android.app.ApplicationPackageManager.getApplicationInfoAsUser(ApplicationPackageManager.java:398) at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:380) at mono.MonoRuntimeProvider.attachInfo(MonoRuntimeProvider.java:35) ... 11 more