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].
Questions tagged [android-studio-3.1]
185 questions
0
votes
1 answer
Strange bug after migrating to android studio 3.1
I have a bug that I don't understand when I try to compile my project since the update 3.1 of android-studio.
It doesn't appears the bug is related directly to my project. But a problem with the project configuration. But When I open gradle files,…

Sébastien Bémelmans
- 869
- 2
- 8
- 17
0
votes
1 answer
Gradle 4.4 and 4.6 do not use dependencies from dependent projects
I have 2 gradle projects A and B
In project A I have
dependencies {
ext {
support_library_version = '26.1.0'
}
implementation "com.payu.india:payu-sdk:4.4.1"
implementation "com.payu.magicretry:magicretry:1.0.4"
…

Siddharth
- 9,349
- 16
- 86
- 148
0
votes
2 answers
android:theme parameter inside manifest ignored
I have AppTheme style in my styles.xml file. In manifest file i choose it like application theme.
I want to login activity unique style and I created login style, and set it in manifest. But it is not working, LoginActivity still takes…

Axbor Axrorov
- 2,720
- 2
- 17
- 35
0
votes
1 answer
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'
I recently updated my Android Studio to Android Studio 3.1. When I try build my project I get this error relating to Gradle. Not sure why I am getting this error because my android project built fine on a previous version of Android Studio. My…

Okuhle
- 842
- 3
- 14
- 31
0
votes
1 answer
Build failed in Android Studio 3.1, gradle 4.4 class signer information does not match signer information of other classes in the same package
I'm making a project in Android Studio 3.1 with libgdx and i can't build my project because it says:
class "org.bouncycastle.jcajce.provider.symmetric.IDEA$Mappings"'s signer information does not match signer information of other classes in the same…

leonidsah
- 1
- 1
0
votes
1 answer
Override version name on Android Studio 3.1 fail
I have the following code to update all application variant when its build type is "release"
android.applicationVariants.all { variant ->
if (variant.buildType.name == "release") {
variant.outputs.all { output ->
…

Jongz Puangput
- 5,527
- 10
- 58
- 96
0
votes
2 answers
Android Studio 3.1 fatal error
I made the fatal mistake of upgrading to AS 3.1 from 3.0.1 I have written a simple app that on MainActivity a button has a onClick = onNEXT when clicked uses an Intent to navigate to ListActivity the XML is bare bones I am using API 26 min and max…

James_Duh
- 1,321
- 11
- 31
0
votes
1 answer
Error inflating in NavigationView
My App is crashing when android tries to open this activity containing Navigation Drawer.I develop same type of app before but this never happened and now it is happening because i have updated my android studio to 3.1. I tried many StackOverflow…

Wahdat Jan
- 3,988
- 3
- 21
- 46
0
votes
1 answer
Android Studio 3.1 not showing logs properly
I am using Android Studio 3.1 for Android Development and it is not showing logs properly.
See the image below for more details:
In the above screenshot i am currently running app on an emulator. Only 2 lines in the logs are of the app that is…

Imran Hakeem
- 161
- 1
- 12
0
votes
0 answers
Android Studio compiler warning source
When building my app in Android Studio (3.1), I'm getting a warning:
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation'.
I don't use compile in any of my dependencies. How can I tell which line in build.gradle…

Sir Codesalot
- 7,045
- 2
- 50
- 56
0
votes
1 answer
Android SDK path is not changed
I removed the Android Studio and re-installed it.
But the SDK manager has a problem.
So I removed all of files/directories related with the Android, and re-installed.
But it is same.
I attached the screen shot.
I tried to set SDK manager path, but…

yoonhok
- 2,575
- 2
- 30
- 58
0
votes
3 answers
How to get gradl sync going again on Android Studio 3.1
After having this issue on Mac OSX, I reinstalled everything for Android Studio. (Studio itself, SDK's), ... Gradle Sync just does not work anymore. Anybody experiences this also? JAVA SDK Installed is 1.8.0_161.
"Uninitialized object exists on…
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
-1
votes
1 answer
Android Studio 3.1 Execution failed for task: Error while merging dex archives
android studio was getting build error while build execution with following
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
com.android.build.api.transform.TransformException: Error while generating the main dex…

Mahendra Gohil
- 380
- 1
- 3
- 21
-1
votes
1 answer
Unable to start activity ComponentInfo {}; java.lang.NumberFormatException: For input string:
I want to pass an integer from one activity to another and show the integer in textView Widget, there is no error in build but have 6 errors in logcat .I am beginner to android and I don't know so much. Please guide.
I want to go & send integer from…

Salim13i
- 159
- 1
- 1
- 12