SYMPTOM
You receive the following error at compile time:
.../HelloWorld/platforms/android/build/intermediates/res/debug/values-v23/values.xml:5: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
...HelloWorld/platforms/android/build/intermediates/res/debug/values-v23/values.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Solution
MOCA Plugin requires project to be compiled against Android API level 26 (Android Oreo). Please check you have included the min and target in your config.xml
versions as follows:
<preference name="android-minSdkVersion" value="14" /> <preference name="android-targetSdkVersion" value="26" />
If problem persists, please check the following file:
YOUR_APP_FOLDER/platforms/android/project.properties
And change the configuration if needed:
target=android-26
Comments
0 comments
Article is closed for comments.