android-target-tooltip icon indicating copy to clipboard operation
android-target-tooltip copied to clipboard

values-v28.xml , values.xml

Open yogithesymbian opened this issue 5 years ago • 4 comments

_### while gradle, i got this error _

compile 'it.sephiroth.android.library.targettooltip:target-tooltip-library:2.0.3'

C:\Users****i.gradle\caches\transforms-1\files-1.1\appcompat-1.0.1.aar\a9e937edebf05855b7455098ed6d5880\res\values-v28\values-v28.xml Error:(9, 5) error: resource android:attr/dialogCornerRadius not found.

then

C:\Users****i.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\0d1fc6733aad15919deed5a76de319bd\res\values\values.xml Error:(251, 5) error: resource android:attr/fontVariationSettings not found. Error:(251, 5) error: resource android:attr/ttcIndex not found.

then

C:\Users*i\AndroidStudioProjects**\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-v28\values-v28.xml Error:(11) error: resource android:attr/dialogCornerRadius not found. Error:(7) resource android:attr/dialogCornerRadius not found. Error:(11) resource android:attr/dialogCornerRadius not found.

then

C:\Users*\AndroidStudioProjects*\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml Error:(553) resource android:attr/fontVariationSettings not found. Error:(553) resource android:attr/ttcIndex not found.

then

Error:failed linking references. Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details Error:Execution failed for task ':app:processDebugResources'.

Failed to execute aapt

###if i only use implementation 'com.github.sephiroth74:android-target-tooltip:2.0' Tooltip.Builder

//Builder unresolved //already added a import builder it.sephiroth

if i both added implementation 'com.github.sephiroth74:android-target-tooltip:2.0' and compile 'it.sephiroth.android.library.targettooltip:target-tooltip-library:2.0.3' i got same error as above .

sory i didnt got this , maybe i was wrong step for gradle or could u teach about it , and why error ?

Thanks in advance

yogithesymbian avatar Jan 20 '19 23:01 yogithesymbian

this my values-v28.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="Base.Theme.AppCompat" parent="Base.V28.Theme.AppCompat"/>
    <style name="Base.Theme.AppCompat.Light" parent="Base.V28.Theme.AppCompat.Light"/>
    <style name="Base.V28.Theme.AppCompat" parent="Base.V26.Theme.AppCompat">
        <!-- We can use the platform styles on API 28+ -->
        <item name="dialogCornerRadius">?android:attr/dialogCornerRadius</item>
    </style>
    <style name="Base.V28.Theme.AppCompat.Light" parent="Base.V26.Theme.AppCompat.Light">
        <!-- We can use the platform styles on API 28+ -->
        <item name="dialogCornerRadius">?android:attr/dialogCornerRadius</item>
    </style>
</resources>

this my

yogithesymbian avatar Jan 20 '19 23:01 yogithesymbian

https://stackoverflow.com/questions/49280632/error9-5-error-resource-androidattr-dialogcornerradius-not-found ah sorry 🗡

yogithesymbian avatar Jan 21 '19 02:01 yogithesymbian

where is the difference -_-

apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

android {
    signingConfigs {
        configEgoTl {
            keyAlias '*****'
            keyPassword '****'
            storeFile file('******')
            storePassword '*******'
        }
    }
    compileSdkVersion 27
    defaultConfig {
        applicationId "******"
        minSdkVersion 23
        targetSdkVersion 27
        versionCode 4
        versionName "4.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        signingConfig signingConfigs.configEgoTl
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            signingConfig signingConfigs.configEgoTl
        }
    }
    productFlavors {
    }
}
repositories {
    maven {
        url 'https://dl.bintray.com/spark/maven'
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation 'com.android.support:design:27.1.1'
    implementation 'com.android.support:cardview-v7:27.1.1'
    compile 'de.hdodenhof:circleimageview:2.2.0'
    compile 'me.spark:submitbutton:1.0.1'
    compile 'com.synnapps:carouselview:0.1.4'
    compile 'com.github.bumptech.glide:glide:4.8.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
    implementation 'com.amitshekhar.android:jackson-android-networking:1.0.2'
    implementation 'com.github.sephiroth74:android-target-tooltip:2.0'
    compile 'it.sephiroth.android.library.targettooltip:target-tooltip-library:2.0.3'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support:27.1.1', module: 'support-annotations'
    })
    implementation 'me.toptas.fancyshowcase:fancyshowcaseview:1.1.4'
}

yogithesymbian avatar Jan 21 '19 02:01 yogithesymbian

i was try in compiler sdk 28 and library is work!!! but how to use that library in compiler sdk 27 ??? i have a bug in compiler sdk 28 on my application thanks in advance . . .

yogithesymbian avatar Jan 21 '19 07:01 yogithesymbian