Skip to content Skip to sidebar Skip to footer

Expected A Name But Was String At Line 1 Column 99 Path $[0].apkinfo.versionname

I upgraded to gradle to 3.1.1 but now i want to change again to 3.0.1 but after changing to 3.0.1 i am getting this error Expected a name but was STRING at line 1 column 99 path $

Solution 1:

Check the release folder where the .apk is going to be generated. If there is any existing .apk or .json files, then delete or move them to another location. Try generating your signed apk again and you should be successful.

Solution 2:

I was getting the same error in the same use case and what fixed it for me was to clean and rebuild the project.

Solution 3:

Add the following code into the app build.gradle file.

lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }

Solution 4:

Tried all previous suggestion with no success. After using "File/Invalidate Caches/restart" the problem was solved.

Post a Comment for "Expected A Name But Was String At Line 1 Column 99 Path $[0].apkinfo.versionname"