android-studio-3.2

Could not find com.android.tools.build:aapt2:3.2.0

佐手、 提交于 2019-12-27 12:20:08
问题 AndroidStudio3.2 Canary14 fails clean-and-rebuild with the following error Could not find com.android.tools.build:aapt2:3.2.0-alpha14-4748712. Searched in the following locations: file:~/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712.pom file:~/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.0-alpha14-4748712/aapt2-3.2.0-alpha14-4748712-osx.jar file:~/Library/Android/sdk/extras/google

Kapt NonExistentClass exception in a Retrofit interface after migrating to androidX

早过忘川 提交于 2019-12-25 02:32:54
问题 I am using Retrofit , Dagger and Glide for my app. After migrating to androidX , kapt works perfectly with Dagger and Glide annotation processors. The projects build and syncs successfully, however, when I run the app, I get Kotlin compiler exceptions in my ApiService interface, where I use Retrofit annotations ApiService.kt import retrofit2.Call import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory import retrofit2.http.GET import retrofit2.http.POST import retrofit2

Issue with colors.xml in Android Studio 3.2.1

爱⌒轻易说出口 提交于 2019-12-24 19:29:35
问题 Following is the awkward and incomplete colors.xml I get while trying to create an Android project using Android Studio 3.2.1. The error I get is D:\AndroidStudioWorkspace\PlayCardz\app\src\main\res\values\colors.xml:7:19: Error: XML document structures must start and end within the same entity. Why is it happening? Update After manually changing colors.xml file to following I start getting the following error: Android resource compilation failed Output: D:\AndroidStudioWorkspace\GameCardz

Unknown Attribute Android: error on Android STUDIO 3.2.1

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-23 20:18:14
问题 Things i have done to resolve this issue: Clean Build & Rebuild Deleted .idea file Invalidated Caches/ Restart.. option Turn On Power Save Mode. SDk is up to date. Sync Project with Gradle Files done. Reinstall Android Studio done recreate new project done changed something in app Gradle file and synced the project again android studio old version change also not help Intellij shows to reset to default namespace, it will delete android namespace.. (In Project, Layout file corrections not

how to remove generatedJava from android studio 3.2

依然范特西╮ 提交于 2019-12-21 07:23:19
问题 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 ? 回答1: 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

Failed to resolve variable '${animal.sniffer.version}' when migrate to AndroidX

不想你离开。 提交于 2019-12-20 08:40:02
问题 I'm using Android Studio 3.2 Beta5 to migrate my project to AndroidX . When I rebuild my app I got these errors: ERROR: [TAG] Failed to resolve variable '${animal.sniffer.version}' ERROR: [TAG] Failed to resolve variable '${junit.version}' Full clean & rebuild did not work! Anyone know how to fix this? gradle.properties android.enableJetifier=true android.useAndroidX=true build.gradle buildscript { repositories { google() jcenter() mavenCentral() maven { url 'https://maven.fabric.io/public' }

android studio 3.2 default activity not found

南楼画角 提交于 2019-12-19 03:42:25
问题 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">

ResourceType For resource entry index is beyond type entryCount

白昼怎懂夜的黑 提交于 2019-12-10 14:36:48
问题 I use Android Studio 3.2 . When I clean/rebuild project I see these warnings in build tool window: W/ResourceType( 6139): For resource 0x0101053d, entry index(1341) is beyond type entryCount(1155) W/ResourceType( 6139): For resource 0x0101053e, entry index(1342) is beyond type entryCount(1155) W/ResourceType( 6139): For resource 0x0101053b, entry index(1339) is beyond type entryCount(1155) W/ResourceType( 6139): For resource 0x0101053c, entry index(1340) is beyond type entryCount(1155) As you

Google Play Instant Development SDK Update Fails

笑着哭i 提交于 2019-12-10 03:47:00
问题 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? 回答1: 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

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

元气小坏坏 提交于 2019-12-09 02:24:53
问题 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