Closed catbaxter closed 10 years ago
What's your Gradle version? I used Gradle 1.12, build success. or change min sdk version to 11 and try.
I use the version 1.12. If I change min sdk version to 11 - It fixes the second error, but the first still exists:
../AndroidManifest.xml:61: Class referenced in the manifest, io.vov.vitamio.demo.VideoSubtitleDemo, was not found in the project or the libraries
You can see the error line, what's wrong.
Bingo! Please fix the AndroidManifest.xml line 61 and min sdk version too :)
I used Gradle, it's build OK. I dont known why you have this error.
I see. But there isn't the class io.vov.vitamio.demo.VideoSubtitleDemo referenced in the manifest - is it ok for you? Anyway, I'll check it on the second PC.
OK, Thanks, I deleted VideoSubtitleDemo
The second error is still exist. Tested on home PC (win7 x64, gradle 1.12):
../res/values/styles.xml:4: android:windowActionBar requires API level 11 (current min is 7)
OK
If I run gradle build from the command line, I got the following error:
:vitamio-sample:lint Ran lint on variant release: 14 issues found Ran lint on variant debug: 14 issues found Wrote HTML report to file:/E:/8/VitamioBundle-master/vitamio-sample/build/lint-results.html Wrote XML report to E:\8\VitamioBundle-master\vitamio-sample\build\lint-results.xml :vitamio-sample:lint FAILED
FAILURE: Build failed with an exception.
The first error in lint-results.html:
../AndroidManifest.xml:61: Class referenced in the manifest, io.vov.vitamio.demo.VideoSubtitleDemo, was not found in the project or the libraries
The second error is:
../res/values/styles.xml:4: android:windowActionBar requires API level 11 (current min is 7) 1
2
3