Questions tagged [android-studio-3.0]

Use for questions about using Android Studio, an official IDE targeted at Android development. Do NOT use for questions about programming for Android in general; instead use [android].

Android Studio is the official IDE for Android development, and includes everything you need to build Android apps.

For more updates about Android Studio 3.0 check out these videos

  1. AS 3.0
  2. Java 8 support
  3. The new Profiler
1629 questions
0
votes
1 answer

"Error: ' ' is not a valid resource name character" after updating to Android Gradle 3.0.0

After updating to Android gradle plugin 3.0.0 and gradle 4.1, I can't compile my code. The project runs just fine in 2.3.3. Here is the error when I run gradle with --stacktrace: Error:com.android.builder.symbols.ResourceDirectoryParseException: …
0
votes
0 answers

Android Emulator Issue. GPU Issue

I downloaded the new Android Studio 3.0 and its giving me a headache. When I start my emulator I get this GPU Driver issue pop and then after I click ok for it to go away. I ralize my log cat is filled with this code bellow the whole time. What is…
user3701188
  • 638
  • 3
  • 7
  • 23
0
votes
0 answers

Android Studio installation error in w7

This stuff is not downloading, can I manually download and add to Android studio? https://dl.google.com/android/repository/android_m2repository_r47.zip Error in Android Studio downloading and installation
0
votes
0 answers

Execution failed for task ' transformclasseswithdesugarformobiledebug'

I keep getting this error since I have updated my studio to stable version 3.0. Earlier I was working on preview 3.0 execution failed for task ' transformclasseswithdesugarformobiledebug' After this, only option I am left with to clean the project…
WISHY
  • 11,067
  • 25
  • 105
  • 197
0
votes
1 answer

hidden random number confirms wrong result in java

I have a few issues with what I'm trying to do, but the most pressing is this: I have a button that sets a hidden random digit, and the user has to attempt to figure out what that digit is. My current code is as follows: //setting the variables int…
0
votes
2 answers

Range bug after upgrading Android Studio - Value must be ≤ 1.0 (was 100) less

After Android Studio upgrade to version 3.0 I get the following warning: "Value must be ≤ 1.0 (was 100) less." But the project is normally compiled. What's wrong with the number 100? I drew attention to this because the Android Studio marks this as…
Mikhail
  • 2,612
  • 3
  • 22
  • 37
0
votes
0 answers

Android Studio 3.0: Try-with-resources requires API level 19

Android Studio 3.0 classpath 'com.android.tools.build:gradle:3.0.0' In official documentaion https://developer.android.com/studio/write/java8-support.html#supported_features I read the next: "In addition to the Java 8 language features and APIs…
Alex
  • 633
  • 1
  • 7
  • 18
0
votes
0 answers

com.google.firebase:firebase- and com.google.android.gms:play-services decompiled class instead of source

I'am using Android Studio 3.0 and i added the following libraries into gradle: compile 'com.google.android.gms:play-services-gcm:11.6.0' compile 'com.google.android.gms:play-services-maps:11.6.0' compile…
0
votes
1 answer

"Cannot create directory" while building app post AS 3.0 upgrade

While running the build via ./gradlew check the build fails with the below stack trace. I have updated gradle to 4.1 and AS to 3.0 post which facing this issue. What went wrong: Execution failed for task…
0
votes
1 answer

Unable to resolve dependancy

I am new to Android Studio, and I've installed Android Studio 3 (no previous installations), and have attempted to create a new project. However, I am getting multiple 'unable to resolve dependency' errors being displayed I've not sure what I…
0
votes
2 answers

android studio 3.0 version showing following error while adding recyclerview dependency in bulild.gradle

Error image I recently updated my android studio to 3.0 and while i was adding dependency for recycler view in build.gradle(module.app) whereas card view is working fine.It's showing the shown error.Below is my dependency code. apply plugin:…
0
votes
2 answers

How to Resolve duplicate entry: com/google/gson/JsonParseException.class?

I am using android studio 3.0,no matter what i do i can't generate or build APK astonishingly it runs on emulator but build fails on real android device. This is how the error appears when i try to build APK. It actually works on other computers…
Amal p
  • 2,882
  • 4
  • 29
  • 49
0
votes
1 answer

android studio 3 sdk missing at installation

I recently re-install my windows. ( Windows 10 64-bit) I installed JDK 9 propperly. Now i'm trying to install android studio 3 but Android SDK is missing from installation. When i open the program, Setup Wizard appears and gets stucked on…
mario1996
  • 9
  • 1
0
votes
1 answer

Android Studio 3.0 new project Issue

I was working On an old project since last night, then I've started a new project and everything just got messy, for example, I can't make Package inside of my com.yoururl.appname, when I create one it won't add the folder instead my package name…
Arash Afsharpour
  • 1,282
  • 11
  • 22
0
votes
0 answers

Why my design view of .xml of android studio is blank?

I have updated my android studio 2.3.3 to 3.0, now I'm facing this problem. I can't see design view thought everything else work well. This message is shown when I try to view it, "IDE error" I have tried these steps : Make project Clean…
Tareq Joy
  • 342
  • 3
  • 12