android-studio-3.0

Android Source Generator: Error: Can't find bundle for base name messages.AndroidJpsBundle

谁说我不能喝 提交于 2019-12-17 18:27:34
问题 I previously was using Android Studio v2.3 to Make Module and it was ok. Now I changed to Android Studio v3.0, when I trying to Make Module, it shows the error below: Error:Android Source Generator: Error: Can't find bundle for base name messages.AndroidJpsBundle, locale en_US java.util.MissingResourceException: Can't find bundle for base name messages.AndroidJpsBundle, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) at java.util.ResourceBundle

RegisterResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)

老子叫甜甜 提交于 2019-12-17 17:27:37
问题 Using new android studio with new 3.0.0 Gradle pluging. When building some warning happened: registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection) 回答1: From what I can tell, plugins added as classpath dependencies will give problems. I.e. Firebase had an issue with it. Spoon and Flutter as well. Doing this Google search reveals a lot of GitHub repos with an issue raised over the same thing, and all they have in common is the fact that it's a Gradle plugin.

Failed linking file resources

孤人 提交于 2019-12-17 15:38:18
问题 This is the java file that is giving the error package com.example.daksh.timetable; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ImageView; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); final Button mon_but,tue_but,wed_but,thur_but,fri_but;

commons-logging defines classes that conflict with classes now provided by Android after Android Studio Update

旧巷老猫 提交于 2019-12-17 10:56:11
问题 I have updated Android Studio to version 3 and now seems unable to compile my project previously compiled without errors. The error message is the follow Error:Error: commons-logging defines classes that conflict with classes now provided by Android. Solutions include finding newer versions or alternative libraries that don't have the same problem (for example, for httpclient use HttpUrlConnection or okhttp instead), or repackaging the library using something like jarjar.

Could not resolve com.android.support:appcompat-v7:26.1.0 in Android Studio new project

戏子无情 提交于 2019-12-17 07:28:46
问题 I know about this questions: Failed to resolve: com.android.support:cardview-v7:26.0.0 android Could not resolve com.android.support:appcompat-v7:26.1.0 [duplicate] And I've read this documentations: Migrate to Android Plugin for Gradle 3.0.0 Migrating to Android 8.0 So I'm posting this question believing its not a duplicate. I've installed Android Studio 3.0.1. I didn't have any previous version before and I started a new project. Every setting in Gradle file have been set by Android Studio

Could not resolve com.android.support:appcompat-v7:26.1.0 in Android Studio new project

醉酒当歌 提交于 2019-12-17 07:28:42
问题 I know about this questions: Failed to resolve: com.android.support:cardview-v7:26.0.0 android Could not resolve com.android.support:appcompat-v7:26.1.0 [duplicate] And I've read this documentations: Migrate to Android Plugin for Gradle 3.0.0 Migrating to Android 8.0 So I'm posting this question believing its not a duplicate. I've installed Android Studio 3.0.1. I didn't have any previous version before and I started a new project. Every setting in Gradle file have been set by Android Studio

Unable to Merge Dex - Android Studio 3.0

依然范特西╮ 提交于 2019-12-17 06:12:15
问题 When I updated my Android Studio to 3.0 in the stable channel and ran the project, I started getting the below error. Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex I tried cleaning and rebuilding the project, but it didn't work. Any help will be appreciated. Project level build.gradle buildscript { repositories { jcenter() google() } dependencies { classpath 'com.android

After migrate to Android Studio 3.0 drawable 'png' NOT compressed in debug build

杀马特。学长 韩版系。学妹 提交于 2019-12-13 20:27:57
问题 Drawables compressed in release build types, but NOT compressed in debug build types. Android Studio 3.0 Build #AI-171.4408382, built on October 20, 2017 JRE: 1.8.0_152-release-915-b01 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.10.0-38-generic In previous version drawable was always compressed How can I configure debug builds to compress png drawables also? 回答1: The reason for this is documented here Here is the quote If you're using Android plugin 3.0.0 or higher, PNG

Android Studio Update 3.2.1

北慕城南 提交于 2019-12-13 20:26:53
问题 Just updated to 3.2.1 Android Studio And i get the following errors when i try to run the app Before the update everything was fine. 回答1: Try to: Build->Clean Project Then File->Invalidate Caches/Restart...->Invalidate and restart If this doesn't work then Try Tools > Android > Sync Project with Gradle Files Still not working then its time to get brutal. File->Close Project. Backup the project. Get rid of the build/ directory (if you have one at the top and/or module levels) and the .gradle/

This gradle plugin requires Android Studio 3.0 minimum

喜你入骨 提交于 2019-12-13 16:55:49
问题 I am getting mentioned error when importing this project: https://github.com/chrisbanes/cheesesquare. 回答1: To resolve this issue, replace in build.gradle your classpath 'com.android.tools.build:gradle:apla3XX.XX' by classpath 'com.android.tools.build:gradle:2.3.3' to downgrade your graddle. https://github.com/firebase/quickstart-android/issues/294 回答2: I didn't know there is a preview version (3.0 Canary 7) for the android studio. Well downloaded it, the app is working. 回答3: One of the