Skip to content

Fixes build issues in example#116

Open
prayaslashkari wants to merge 2 commits intochramos:masterfrom
prayaslashkari:callmemonky-patch-2
Open

Fixes build issues in example#116
prayaslashkari wants to merge 2 commits intochramos:masterfrom
prayaslashkari:callmemonky-patch-2

Conversation

@prayaslashkari
Copy link

@prayaslashkari prayaslashkari commented Apr 16, 2023

Description

Was unable to build example in this package.

Changelogs

  1. Bumped react-native version to 0.70.5. Was getting More than one file was found with OS independent path 'lib/armeabi-v7a/libfbjni.so'.
    Ref

  2. Incremented compileVersion to 31 from 29.

  • What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.
    Multiple task action failures occurred:
    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
    > The minCompileSdk (31) specified in a
    dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
    is greater than this module's compileSdkVersion (android-29).
    Dependency: androidx.appcompat:appcompat:1.4.1.
    AAR metadata file: /Users/ramprakash/.gradle/caches/transforms-2/files-2.1/3aeebd481c4b979f4aaf1422ab700cb2/appcompat-1.4.1/META-INF/com/android/build/gradle/aar-metadata.properties.
    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
    > The minCompileSdk (31) specified in a
    dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
    is greater than this module's compileSdkVersion (android-29).
    Dependency: androidx.appcompat:appcompat-resources:1.4.1.
    AAR metadata file: /Users/ramprakash/.gradle/caches/transforms-2/files-2.1/5037444d0e4e7ecd374e14c9cde1a9e9/jetified-appcompat-resources-1.4.1/META-INF/com/android/build/gradle/aar-metadata.properties.
    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
    > The minCompileSdk (31) specified in a
    dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
    is greater than this module's compileSdkVersion (android-29).
    Dependency: androidx.emoji2:emoji2-views-helper:1.0.0.
    AAR metadata file: /Users/ramprakash/.gradle/caches/transforms-2/files-2.1/42e939cb6ff04968d17f51f220845a50/jetified-emoji2-views-helper-1.0.0/META-INF/com/android/build/gradle/aar-metadata.properties.
    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
    > The minCompileSdk (31) specified in a
    dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
    is greater than this module's compileSdkVersion (android-29).
    Dependency: androidx.emoji2:emoji2:1.0.0.
    AAR metadata file: /Users/ramprakash/.gradle/caches/transforms-2/files-2.1/6d54bbfebc644b955342f5222212631f/jetified-emoji2-1.0.0/META-INF/com/android/build/gradle/aar-metadata.properties.
    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
    > The minCompileSdk (31) specified in a
    dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
    is greater than this module's compileSdkVersion (android-29).
    Dependency: androidx.core:core:1.7.0.
    AAR metadata file: /Users/ramprakash/.gradle/caches/transforms-2/files-2.1/e596bd84a87a4cbdcf9d545f7eacbd1e/core-1.7.0/META-INF/com/android/build/gradle/aar-metadata.properties.
    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
    > The minCompileSdk (31) specified in a
    dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
    is greater than this module's compileSdkVersion (android-29).
    Dependency: androidx.lifecycle:lifecycle-process:2.4.0.
    AAR metadata file: /Users/ramprakash/.gradle/caches/transforms-2/files-2.1/b4f70e2aa5cce10e50e20d9b8e994481/jetified-lifecycle-process-2.4.0/META-INF/com/android/build/gradle/aar-metadata.properties.
    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
    > The minCompileSdk (31) specified in a
    dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
    is greater than this module's compileSdkVersion (android-29).
    Dependency: androidx.lifecycle:lifecycle-runtime:2.4.0.
    AAR metadata file: /Users/ramprakash/.gradle/caches/transforms-2/files-2.1/7e88b296a48384d725962d71d07ec64e/lifecycle-runtime-2.4.0/META-INF/com/android/build/gradle/aar-metadata.properties.

@chramos
Copy link
Owner

chramos commented Jun 21, 2023

hey, thx for the PR

just bumping the rn version is enough?

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

Successfully merging this pull request may close these issues.

2 participants