Discussion
Loading...

Discussion

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Ambraven :verifinking:​
@Ambraven@social.mochi.academy  ·  activity timestamp 2 weeks ago

Today in Android dev is a pain to set up:

I have built apk...

I am unable to run said apk because android won't let me install the debug version and I need to setup a signature to even build the release apk.

Oh and I can't run the avd I build for path related reasons, which suks ass.

Again... This is so much more of a pain than it needs to be.

#android #androiddevelopment

  • Copy link
  • Flag this post
  • Block
Ambraven :verifinking:​
@Ambraven@social.mochi.academy replied  ·  activity timestamp 2 weeks ago

I manage to install and launch my app...

But the screen is blanc and I have no idea why...
-_-

I guess I really need to make the emulator works...
-_-

#android
#androiddevelopment

  • Copy link
  • Flag this comment
  • Block
Ambraven :verifinking:​
@Ambraven@social.mochi.academy replied  ·  activity timestamp 2 weeks ago

I still don't have a working emulator but...

My App works! I installed it on my phone and it works!!! Woohooo !!!

  • Copy link
  • Flag this comment
  • Block
Ambraven :verifinking:​
@Ambraven@social.mochi.academy replied  ·  activity timestamp 2 weeks ago

It was kind of a pain but I still happy to have learned how to do it.

  • Copy link
  • Flag this comment
  • Block
Ambraven :verifinking:​
@Ambraven@social.mochi.academy replied  ·  activity timestamp 2 weeks ago

WIL:

  • setting up android sdk without android-studio is a pain.
    • I manage to do it with the cmline android tools
    • Still can't make the emulator to work for some reason
    • you need build-tools, ndk, platform-tools, the platforms themselves. I think the system-images is only needed for the emulator
  • you have to sign your apps to be able to make a release build
    • use keytool to make a keystore. Don't use the mdp you always use for everything
    • on related note I need to figure out how to use the keystore without putting the mdp in Cargo.toml
  • the size of the main window needs to be flexible
  • googledrive is the easiest way I found to transfer and install my app on my phone (it didn't want to install it from my phone file system)

#androiddev #rust #slint

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login