android-studio-3.2

Gradle error when Update to Android studio 3.2

為{幸葍}努か 提交于 2019-12-06 22:05:40
问题 I updated my Android Studio version to 3.2. Now I am facing following error for my project - com.novoda.gradle.release.AndroidLibrary$LibraryUsage.getDependencyConstraints()Ljava/util/Set ; Currently I am using gradle version 4.6. Issue link https://github.com/novoda/bintray-release/issues/177 says to downgrade gradle version to 4.4 but minimum supported version for Android Studio 3.2 is 4.6. How to resolve this error. 回答1: I solved the same error by changing the order of the plugins in your

Google Play Instant Development SDK Update Fails

邮差的信 提交于 2019-12-05 05:48:55
Android Studio 3.2 RC3 keeps asking me to update the Google Play Instant Development SDK (from 1.3.0 to 1.4.0), but it always fails the update with this message: Failed packages: - Google Play Instant Development SDK (extras;google;instantapps) How can I fix this? I was able to get this working by: Closing my project (File -> Close Project) Open SDK Manager from the gear at the bottom of the window Click Updates on the left I had to do this twice and it worked the second time. If that won't work you can try File -> Invalidate Cache/restart -> Invalidate Restart. Android Studio will close and

Android Studio 3.2.1, XML bad indent format

旧巷老猫 提交于 2019-12-04 17:17:30
问题 After updating to Android Studio 3.2.1 the XML files format is very annoying and bad, how can we fix it? Can we change it from somewhere in settings to previews type? 回答1: You can edit your code styles under File > Settings > Editor > Code Style > XML If you want to preview a specific file, just paste that file's contents into the preview window. 回答2: On Android Studio 3, Go to : Preferences > Editor > Code style > XML then on Scheme switch to Default instead of Project . You can then use

how to remove generatedJava from android studio 3.2

安稳与你 提交于 2019-12-04 00:16:04
Android studio 3.2 I have migrated my project to android studio 3.2. After migration I see generatedJava folder in my Android folder structure. I don't have any use of it. How can I remove this generatedJava folder from Android Studio ? 0xAliHn Why you want to remove this? Here is some explanation behind the reason to keep it as it is. No one forces you to look into this folder. But if your project has a lot of generated code (room, data binding, dagger) then it is very handy to have quick access to these files in order to check if they were generated properly, set some breakpoints for

Some Conflicts were found in the installation area - Android Studio - cacerts error

一曲冷凌霜 提交于 2019-12-03 13:36:36
问题 I am on Android Studio 3.0.1 and wanted to upgrade it to latest one. But I am getting this attached error due to jre/jre/lib/security/cacerts . Does any one have any idea how to fix it? It says patch cannot be applied. 回答1: I also modified my cacerts file to include a corpo firewall CA cert, but instead of having to reinstall Android Studio, I just Download the full .zip from Google's Archive that corresponded to my current version (in my case 3.1.3), then Extract the cacerts file and

Data-Binding fails with “couldn't make a guess”

感情迁移 提交于 2019-12-01 11:55:23
Since the update to Android Studio 3.2.0 I face the following issue: Execution failed for task ':mobile:dataBindingGenBaseClassesDebug'. > couldn't make a guess for com.ACME.database.model.Order also seen this answer , which hints for that "package-names must start with a lower-case letter". ... it seems alike, as if this variable assignment would be the cause: <data class=".databinding.OrderFragmentBinding"> <variable name="order" type="com.ACME.database.model.Order"/> ... </data> found: New data binding compiler for binding classes , which does not explain the change in behavior. Q : are

Android Studio 3.2.1 - Cannot sync project with gradle files: Argument for @NotNull parameter 'message' of … must not be null

℡╲_俬逩灬. 提交于 2019-12-01 02:36:11
I have a problem using AndroidStudio. I freshly installed it on my Kubuntu 18.04 machine and wanted to create my frist project. Everyhting worked fine and the project opened. The only problem: I can't run my apps. I can't even look at the activities in the design view - It waits forever for the build to finish. When I want to run the apps, it doesn't have any modules. After searching for a while on the web I tried syncing my project with the gradle files, because that seems to resolve similar issues, but once I do that, the following error occurs: Argument for @NotNull parameter 'message' of

android studio 3.2 default activity not found

佐手、 提交于 2019-11-30 21:56:53
Recently I updated my android studio to 3.2 but when the old open project I getting the error "default activity not found" . <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.qualifiedapps.birthdaywishes"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" />

Failed to transform file 'some-lib-release.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform

眉间皱痕 提交于 2019-11-29 05:55:39
问题 I have a project with 2 modules: an app (Java) with build types debug , release , and enterprise and a Kotlin library ( release and debug ) used by the app. I'm using AndroidX and have the following in my gradle.properties : android.useAndroidX=true android.enableJetifier=true If I run the project through Gradle, I get a bunch of compile errors (expected). But if I try to use it from within Android Studio (3.2 Beta 5), specifically when trying to sync with the Gradle model, I get this: Unable

Data-Binding fails with “couldn't make a guess”

半城伤御伤魂 提交于 2019-11-28 06:36:36
问题 Since the update to Android Studio 3.2.0 I face the following issue: Execution failed for task ':mobile:dataBindingGenBaseClassesDebug'. > couldn't make a guess for com.ACME.database.model.Order also seen this answer, which hints for that "package-names must start with a lower-case letter". ... it seems alike, as if this variable assignment would be the cause: <data class=".databinding.OrderFragmentBinding"> <variable name="order" type="com.ACME.database.model.Order"/> ... </data> found: New