Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR BUILD ANDROID RELEASE #18

Open
GH974 opened this issue Apr 4, 2019 · 10 comments
Open

ERROR BUILD ANDROID RELEASE #18

GH974 opened this issue Apr 4, 2019 · 10 comments

Comments

@GH974
Copy link

GH974 commented Apr 4, 2019

Hi, i found a error in react native version 0.58.6
and android buildToolsVersion = "28.0.3"

  • What went wrong:
    Execution failed for task ':react-native-app-settings:verifyReleaseResources'.

java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: /Users/gh.mbp974/Documents/DEV_SITE/streego/streego/node_modules/react-native-app-settings/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
/Users/gh.mbp974/Documents/DEV_SITE/streego/streego/node_modules/react-native-app-settings/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
/Users/gh.mbp974/Documents/DEV_SITE/streego/streego/node_modules/react-native-app-settings/android/build/intermediates/res/merged/release/values/values.xml:957: error: resource android:attr/fontVariationSettings not found.
/Users/gh.mbp974/Documents/DEV_SITE/streego/streego/node_modules/react-native-app-settings/android/build/intermediates/res/merged/release/values/values.xml:958: error: resource android:attr/ttcIndex not found.
error: failed linking references.

@linddominic
Copy link

+1

@vrgimael
Copy link

Same error. Any solutions?

@ballbrk
Copy link

ballbrk commented May 22, 2019

Hi
#19
this pull fix the issue

@therealravitej
Copy link

hey.. can you fix this ASAP.

@naxel
Copy link

naxel commented Aug 19, 2019

ping @nmartin867

@naxel
Copy link

naxel commented Aug 19, 2019

ping @seantimm

@markhomoki
Copy link

From RN 0.60 you can use Linking.openSettings() which does the same thing as this lib.

@russelRajitha
Copy link

facing same issue .

@SMKH-PRO
Copy link

SMKH-PRO commented Dec 16, 2019

From React-Native 0.60 you can send intend which means you can open otherapps..

and specifically if you want to open own App's setting you can use Linking.openSettings() as @markhomoki mentioned!.

Here's Docs:-
https://facebook.github.io/react-native/docs/linking

So this library is of no use if you are using react-native >0.59+

@ahtokca
Copy link

ahtokca commented Oct 2, 2020

react-native-app-settings/android/build.gradle has

    compileSdkVersion 26
    buildToolsVersion "26.0.3"

but it should have something like

def safeExtGet(prop, fallback) {
    rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
    
android {
    compileSdkVersion safeExtGet('compileSdkVersion', 26)
    buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3')

There is actually a pool request waiting https://github.com/KrazyLabs/react-native-app-settings/pull/20/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants