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

Unable to run tests in parallel using TestNG, gradle and android studio

I am trying to run the following 2 tests in parallel using TestNG 6.13.1 and gradle from an Android studio 3.0 project. Here is my testng.xml file
0
votes
0 answers

Changing the whole column value automatically at 12:00 am on a table of database while working on android app

I am making an app and in that i have a table "mydoctor" in which there are two fields no_of_pat and count initially both are same but at the end of day they will differ as i am making changes in count table ...but for the next day i again want the…
0
votes
1 answer

Error on Building Release Signed APK : Error:trouble processing "javax/xml/namespace/QName.class"

I am trying to create a built of my application, it debugs and runs well. But when i try to create the signed apk for release, it gives me following error in Android Studio 3.0.1 Error:trouble processing…
0
votes
1 answer

While installing Android Studio SDK component is not proposed to install?

I don't have any previous versions of Android Studio and SDK's. But When i tried to install new one from official website unable to download SDK. https://developer.android.com/studio/index.html Can anyone please solve my issue. Thanks in advance…
Hareesh
  • 933
  • 3
  • 11
  • 22
0
votes
0 answers

DexArchiveMergerException - java.util.zip.ZipException: invalid distances set

When I'm trying to build code with android project below bug appear on android 3.0.1. Please help me to resolve this error. I tried all the possible way to resolve but no luck. Error:Execution failed for task …
J T Ram
  • 23
  • 4
0
votes
1 answer

ImageView background in not setting multiple times

I am working on an android project, in which I need to set ImageView background (ascending icon and descending icon) multiple times. to do this I am doing it with a clicking variable like: sortBookedOnLayout.setOnClickListener(new…
singh.indolia
  • 1,292
  • 13
  • 26
0
votes
2 answers

Emulator Failed to Start "OpenGLES emulation failed to initialized"

I've been struggling with trying to launch android emulator but no success yet. I've updated the graphic card driver and done every possible solution out there but to no avail. For some reason with the new update there is something wrong needs to be…
jelmood jasser
  • 878
  • 1
  • 13
  • 30
0
votes
0 answers

Package declaration in AndroidManifest.xml

I changed my packet structure to this: How do I need to declare package in AndroidManifest.xml so it finds the R class?
user3742929
  • 360
  • 3
  • 17
0
votes
1 answer

Kapt problems on AndroidStudio 3.0+ (TargetApi)

After upgrade to latest Android Studio 3.0.1 I hit on some errors with Kapt annotation processing. Error: e: @TargetApi(Build.VERSION_CODES.LOLLIPOP) e: ^ e: symbol: variable LOLLIPOP e: location: class…
0
votes
0 answers

No server to serve request

I am trying to build a new fresh project in Android Studio 3.0.1 with Java 1.8.0_151-b12. My computer is running Ubuntu 16.04.3. I get the following errors: Error:java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server to…
J. Doe
  • 11
  • 1
  • 3
0
votes
0 answers

Linker error calling a particular function

I am using the opus library in an Android project. I have successfully linked to the library and can use the opus_decode function. But even though Android Studio does not throw any errors, the opus_decode_float throws an undefined reference error…
Korogba
  • 105
  • 9
0
votes
1 answer

Android Studio project runs fine but build APK fails due to "multiple dex files..."

Using Android Studio 3.0, I have an Android application project with the following layout: app | - lib-foo - lib-bar So I have an application module, using two library modules called lib-foo and lib-bar, respectively. Now, here comes the…
JHH
  • 8,567
  • 8
  • 47
  • 91
0
votes
1 answer

No solution for: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'

Getting this: Error:(15, 21) No resource found that matches the given name: attr 'android:keyboardNavigationCluster'. Using Android Studio 3.0.1, react-native 0.48.2. My current build.gradle(app): android { compileSdkVersion 26 …
0
votes
2 answers

Why is Android Studio v3.0.1 not running after installing successfully?

I have installed Android Studio using the /NCRC tag by running the downloaded executable from the Command Prompt. The installation was successful. However, when I run it for the first time, I get an error (0xc0000020) studio64.exe - Bad Image…
biplobmanna
  • 441
  • 5
  • 8
0
votes
1 answer

Error: cannot find symbol variable Constants

How can import util.Constants in Android Studio 3.0.1 Error:cannot find symbol variable Constants Alt+enter said me android.provider.SyncStateContract.Constants? But I need to import like Import mypackage name.until.Constants
Tibsolg
  • 1
  • 1