BASIC

Author Topic: How do i use Android Studio?  (Read 39 times)

Offline Bluepixel

  • Mc. Print
  • *
  • Posts: 10
  • Bluepixel Studios.
    • View Profile
How do i use Android Studio?
« on: 2019-Nov-09 »
Hi there, I was super excited to try out android studio, when I compiled to android it told me to install android studio so I did. I created a simple hello world program and when I compiled for android it started up android studio, started updating some stuff and after a long time of waiting I just got errors.

Ive tried a lot to make this work but nothing seems to work.
Is there maybe a tutorial or guide on how to use android studio?
There are two ways to write error-free programs; only the third one works.
(Alan J. Perlis)

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1535
    • View Profile
Re: How do i use Android Studio?
« Reply #1 on: 2019-Nov-09 »
Check the readme in the android studio folder created by GLB after you compile.
Also the Android Studio SDK Manager needs to have SDKs and libraries installed - you can find more about those online...


There are certain things you need to change and others you need to leave as is.

build .gradle at the app level >

  // GLBASIC_USER_NOTE versionCode, versionNumber, target SDK
        minSdkVersion 23
        targetSdkVersion 29


androidmanifest.xml - make sure you have it setup correctly if you edited it.

Below image is my SDK tools setup.



Comp:
Speccy-48k, Speccy-128k, Amigas, PCs