Skip to content Skip to sidebar Skip to footer

Failed To Query The Value Of Property 'packagename'

I am running React-Native 0.63.4 and encountering the following error: Execution failed for task ':app:generateDebugBuildConfig'. > Failed to calculate the value of task ':app:g

Solution 1:

I finally figured it out.

on the file: android/app/src/main/AndroidManifest.xml

The content began by:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"package="com.MyBusiness.MyApp"
          android:versionCode="1.0.0"
          android:versionName="1.0.0">

The versionCode has to be an integer: Only digits allowed. Apparently it does not matter what it is as it will increment whatever number we put.

Changing this to a number solved my problem:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"package="com.MyBusiness.MyApp"
          android:versionCode="1000"
          android:versionName="1.0.0">

Post a Comment for "Failed To Query The Value Of Property 'packagename'"