References to other resources are not supported by build-time PNG generation

To support API SDK < 24 add the following line to your app build.gradle inside the android block: defaultConfig { vectorDrawables.useSupportLibrary = true } If your minSdkVersion is 24 or higher, then your issue will be resolved on its own, because VectorDrawables have full support starting with this API. See Android Developers: Vector Drawables Backward … Read more

RegisterResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)

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 … Read more

Android studio 3.0: Unable to resolve dependency for :app@dexOptions/compileClasspath’: Could not resolve project :animators

With Android Studio 2.3(AS) the project works fine and i can able to run the App. After updating the AS to Android Studio 3.0. i too got the error as below for libraries and build types. Unable to resolve dependency for ‘:app@dexOptions/compileClasspath’: Could not resolve project : library_Name. Unable to resolve dependency for ‘:app@release/compileClasspath’: Could … Read more

How to fix ‘Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: No outputs for the main artifact of variant:’

First clean your project by Build -> Clean project Then rebuild project Build -> Rebuild project Then run your project. I hope this will work. if not then go to File -> Invalidate Caches / Restart -> Invalidate and restart The last option is you can sync Gradle again in case nothing worked

Unsupported method: BaseConfig.getApplicationIdSuffix()

Alright I figured out how to fix this issue. Open build.gradle and change the gradle version to the recommended version: classpath ‘com.android.tools.build:gradle:1.3.0’ to classpath ‘com.android.tools.build:gradle:2.3.2’ Hit ‘Try Again’ In the messages box it’ll say ‘Fix Gradle Wrapper and re-import project’ Click that, since the minimum gradle version is 3.3 A new error will popup and … Read more

Android emulator not able to access the internet

👉 1st try “Cold booting” the emulator as suggested here. 👉 If cold booting doesn’t work, try changing the DNS address of your network to 8.8.8.8 (Google’s DNS) or another of your preference: MacOSX: Open “System Preferences” Click on “Network” Select the network which your computer is connected and click on “Advanced” Select “DNS”, Select … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)