1

Obviously I'm just now beginning to learn, criticism not appreciated, lol.. Can anyone tell me like.. How to ACTUALLY edit github files in android studio???! Ive tried importing, copying and pasting the code, idk what to do maybe I'm just dumb who knows.. But I cannot for the life of me seem to get any of the code from github files to actually run once it's imported..

Comments
  • 0
    git clone https://github.com/user/repo
    Open the project with Android Studio
    done
  • 0
    @kescherRant I've done that, I always end up getting a bunch of errors and never let's me click the option to run a preview in the emulator or anything
  • 1
    Package mapping and dependencies are set?
  • 0
    @possum idk I'm literally only a few days into learning any of this type of stuff what are those and how would I do that. All I've done is imported it and tried to run it but wouldn't let me
  • 0
    @Lhllc03 I‘m using IntelliJ (not for app dev though) but your problem seems to be similar to the ones I came across.
    There should be something like project settings, and in it a panel that shows file hierarchy. You can then mark folders as „contains the code“ and „contains test“, „is compile out“ and whatnot. Save that. Also, there should be settings for JKD vers. and dependencies/libraries.
    Now look for run configurations, where you should be able to specify the main() method.
    I hope some of that gave you some pointers what to look into or more terms for a search, unfortunately I can‘t help you much further as I‘m in the middle of exam period and not experienced with Android Studio itself.
  • 0
    @possum cool man! I'll give those a try and see what happens thanks for the help!!
Add Comment