• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android Studio 3.4.2

tward392

Lurker
Just starting to look at App Development. Downloaded Android Studio 3.4.2 and try to simply import some of the Android code samples to see what is what, but none of them ever seem to load without errors.

Can ever seem to run any examples, they always fail for various reasons.

Has anyone tried to import the samples?
 
yes they should work out of the box.
What errors do you get? Can you attach some screenshots?
 
yes they should work out of the box.
What errors do you get? Can you attach some screenshots?

I click update on the first screen shot.

001-Android-Gradle-Plugin-Update-Recommended.jpg 002-ActionBarCompat-SharedActionProvider-Sync.jpg
 
Hm that's pretty bad if they don't build from a fresh install. It's been a while since I tried this. I'll give it a go later, and see what happens.
 
Thought it would just be an easy way to see what goes on in an app. I've developed things in several languages and just wanted to see what an app was all about...
 
That's the general idea of the sample apps, to act as a guide and reference resource.
 
No I would definitely recommend updating Gradle, if you have not already done so.
 
This may sound a bit odd, and it may be a red herring in your case, but when I first installed Studio 3.4.0 and started to use it, I found one or two modules had not been installed. When I started the app by pressing the green triangle icon rather than Tools > AVD Manager as directed by the tutorial, it prompted me to install the missing bits and bobs...

¯\_(ツ)_/¯
 
Back
Top Bottom