logo
down
shadow

Android Studio Gradle API compatibility


Android Studio Gradle API compatibility

By : stranger_power
Date : November 21 2020, 11:01 PM
I wish this helpful for you I am writing an application in Android Studio. It compiles and works perfectly on Marshmallow, but when I try to execute it with a Jelly Bean emulator (API 16), it fails. I also tried to change the compileSdkVersion to 16 and consequently also change all the dependencies with older versions, but it still doesn't work. Can you help me? , The error message has a few critical lines in it:
code :
Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path)
  ...
  at android.support.v7.view.menu.MenuItemImpl.getIcon(MenuItemImpl.java:421)
  ...
  at android.support.design.widget.NavigationView.inflateMenu(NavigationView.java:248)


Share : facebook icon twitter icon
Android Studio Gradle issue upgrading to version 0.5.0 - Gradle Migrating From 0.8 to 0.9 - Also Android Studio upgrade

Android Studio Gradle issue upgrading to version 0.5.0 - Gradle Migrating From 0.8 to 0.9 - Also Android Studio upgrade


By : Jin
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further To fix it, open file called build.gradle in the project root, and change gradle version there to 0.9.+.
code :
buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.9.+'
    }
}
distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-all.zip
repositories {
    mavenCentral()
}

android {
    compileSdkVersion 19
    buildToolsVersion '19.1.0'

    defaultConfig {
        minSdkVersion 7
        targetSdkVersion 19
    }
}

dependencies {
    compile 'com.android.support:appcompat-v7:19.1.+'
    compile 'com.android.support:support-v4:19.1.0'
}
Android Studio: Error:/android-studio/gradle/gradle-2.4/lib/plugins/gradle-diagnostics-2.4.jar (No such file or director

Android Studio: Error:/android-studio/gradle/gradle-2.4/lib/plugins/gradle-diagnostics-2.4.jar (No such file or director


By : Ca Way Le
Date : March 29 2020, 07:55 AM
I wish this helpful for you I had the same problem today when I upgraded from Android Studio 1.4 to 1.5. After some googling and checking stackoverflow threads I managed to found a solution by following these steps:-
Create a new project and if that new project gets created successfully Open the gradle-wrapper.properties file Check the following line
Android Studio gradle doesn't sync if edit other gradle files except build.gradle

Android Studio gradle doesn't sync if edit other gradle files except build.gradle


By : RiseCompany
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further It's a bug. I've filed https://code.google.com/p/android/issues/detail?id=196727 to track this.
Android Studio build tools and gradle version compatibility

Android Studio build tools and gradle version compatibility


By : Sindhu Pink
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , I'm using Android Studio 2.2 Preview 1 with android build tool version 2.2.0-alpha4, gradle version 2.14 and I'm getting incompatibility issues that's preventing me from running my app. What build tool and gradle versions should I be using instead? , You can use the *stable version and not alpha :)
Android Studio - Gradle build fails after setting target compatibility to JDK 1.8

Android Studio - Gradle build fails after setting target compatibility to JDK 1.8


By : eslam mohamed
Date : March 29 2020, 07:55 AM
wish of those help I'll post an answer, since I don't found this solution anywhere I've looked, so it could be useful to someone else.
The problem was that File -> Project structure -> JDK location on Android Studio pointed to a JDK 9. I've downloaded JDK 8 and I've changed the pointed directory to that which contains JDK 8 and now gradle can build with Java 8 target.
Related Posts Related Posts :
  • Issue with multiscreen design
  • Upload binary file with retrofit 2 in Android
  • R.layout is'nt recogized by the studio
  • android - RecyclerView updating every second and have a longPressListener
  • What's the best way (in Android dev) to consume REST API (in addition to Retrofit)?
  • Which Android SDK Packages do I need for Cordova and Android 4+
  • Android & Retrofit2 - posting image file in multipart request
  • Calabash directory structure for testing both Android and iOS
  • javafxports 8.60.7 - using Back button on Android - none exit application
  • Create file from drawable to send with sendbird
  • Firebase app integration error
  • Xamarin No resource found that matches the given name (at 'colorAccent' with value '@color/accent ')
  • Will Firebase provide tests for other OS and does it support manual testing?
  • Android - Obtain self-signed server certificate and add to trusted keystore
  • Error:(25, 46) error: @InjectViews must be a List or array
  • What is the difference between 'Make' and 'Gradle-aware Make'?
  • How to know if user has verified his/her email address
  • Importing Android-Download-Manager library results "failed to resolve"?
  • Showing particular area in google PlacePicker
  • Sharing pdf to Evernote not working in Android
  • Android : Google signin is not working in release mode
  • How to save an intent object and later retrieve it
  • Convert YUV Image into greyscale Image - Same Result as RGB to Grayscale?
  • bulkTransfer makes the application crash
  • How to aspect fill programmatically? [Android]
  • I lost my key store password, I want to update my app on plays store with same keystore
  • How to find the minimum and maximum dates from three tables even if there is no date in one table in android sqlite
  • Unparseable date: "10:40:54" (at offset 0)
  • Keep count of consumable in-app purchases using Firebase Realtime Database
  • Proguard with Parceler and Realm
  • Check whether the file is already exists Android not working
  • Update value to mutiply objects by Transaction in Firebase
  • how to save another image in android?
  • android thread only runs once
  • working with custom views and sqlite database-android
  • Android 4.x - NavigationView ignores android:theme parameter
  • Travis CI with Android Lib - No compatible devices connected
  • A blank white screen appeared when addview to windowmanager
  • Error:Cannot set readonly property: proguardFiles for class: com.android.build.gradle.managed.BuildType
  • How do I display an ImageView underneath the middle of a LinearLayout?
  • Why setVisibility only works setOnClickListener but not in onClick?
  • How can I get packets data from AudioStream Android?
  • How to import open source library as an external project into Android Studio?
  • Travis CI Build failing on Android app Unsupported major.minor version 52
  • Android clearing notifications not detected
  • Android updating custom preference summary
  • How to clear a recyclerview on app start
  • selectableItemBackground with white background on tablayout?
  • cordova plugin rm cordova-plugin-whitelist does not change config.xml so it will be readded upon build
  • Html.fromHtml on Nougat doesn't call custom HtmlHandler
  • Android Very huge list of items with recyclerview best approach
  • error generating signed CSR with javacard (asn1 bad tag value)
  • Dagger2 Inject a lot of activities/fragments/services (possible get a lot of NPE)
  • images vs views(button, radiobutton....) in Android
  • Not able to stop service, stopService()-method doesn't work
  • Android sharing between apps using ContentUri
  • Write text with canvas (onDraw view)
  • Trouble with implementing app for different screens on Android
  • Android remove EditText selection
  • Batch job - violate constraint temporarily
  • shadow
    Privacy Policy - Terms - Contact Us © soohba.com