2 Replies - 325 Views - Last Post: 28 September 2019 - 06:48 PM

#1 rblz   User is offline

  • New D.I.C Head

Reputation: 5
  • View blog
  • Posts: 26
  • Joined: 23-May 19

Need help running code in Android Studio

Posted 27 September 2019 - 12:49 PM

I posted about the Drive API before, but it was difficult to set up. Instead, I'm attempting to first launch this sample Google Drive app, and then edit it to make the app I have in mind. Here is the file: https://github.com/g...ter/drive/demos
I'm not sure how to navigate it or actually execute whatever app in there is the one that is the sample drive app. All I want to do is isolate the sample drive app from all of the rest of the apps that deal with deprecation and quickstarting and whatever. I know I sound like I don't know what I'm doing, which is partially true. I can make apps and stuff, but I've no idea how to go about isolating and running the app because there are several different ones. This is what the directory looks like: https://prnt.sc/pbwd8g

Is This A Good Question/Topic? 0
  • +

Replies To: Need help running code in Android Studio

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15359
  • View blog
  • Posts: 61,588
  • Joined: 12-June 08

Re: Need help running code in Android Studio

Posted 27 September 2019 - 12:56 PM

It's an android app.. so dig around for the 'activity'.

in this case:
https://github.com/g...ive/sample/demo

To isolate it you would need to know what a project looks like and remove chunks as needed.
https://developer.an...ts/fundamentals
Was This Post Helpful? 0
  • +
  • -

#3 rblz   User is offline

  • New D.I.C Head

Reputation: 5
  • View blog
  • Posts: 26
  • Joined: 23-May 19

Re: Need help running code in Android Studio

Posted 28 September 2019 - 06:48 PM

I've been working with a Google Drive sample file, and I've noticed that whenever I try to move the file, it loses the ability to reach all the imported classes. My question is, where is it even finding the imported classes in the first place? I've checked the folders that I downloaded with this file and have found nothing. I've screenshotted what the code looks like. Notice how the copy-pasted version displays a bunch of errors because it doesn't know what the imported classes are or what anything is, but the one in it's proper place does. https://prnt.sc/pcbrfn https://prnt.sc/pcbrjo

Also all the folders that it names when it imports classes are all empty - they just contain more subdirectories.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1