videostream / cordova-chromecast

Chromecast running in Cordova
117 stars 58 forks source link

Can't compile on Cordova 5.2 #58

Open JohnKiller opened 9 years ago

JohnKiller commented 9 years ago

Hi,

Thanks for this fantastic plugin.

Everything works OK in cordova 4.3 but today i've tried on another machine with latest 5.2 and it fails to build. I've asked on StackOverflow:

http://stackoverflow.com/questions/32166984/cordova-plugin-getvideostream-chromecast-works-on-4-3-but-doesnt-compile-on-5

Any help would be much appreciated. Thanks.

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [aapt] C:\Users\Gianni\Desktop\hello\platforms\android\libs\AppCompatLib\res\values-v23\styles_base.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
     [aapt]
     [aapt] C:\Users\Gianni\Desktop\hello\platforms\android\libs\AppCompatLib\res\values-v23\styles_base_text.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
     [aapt]

Exec:
BUILD FAILED
E:\AndroidSDK\tools\ant\build.xml:649: The following error occurred while executing this line:
E:\AndroidSDK\tools\ant\build.xml:694: null returned: 1

Total time: 0 seconds

Error: Exec: Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "ant release -f ./platforms/android/libs/AppCompatLib/build.xml"

BUILD FAILED
E:\AndroidSDK\tools\ant\build.xml:649: The following error occurred while executing this line:
E:\AndroidSDK\tools\ant\build.xml:694: null returned: 1

Total time: 0 seconds

    at C:\Users\Gianni\Desktop\hello\plugins\acidhax.cordova.chromecast\init-playservices-dependencies.js:53:19
    at ChildProcess.exithandler (child_process.js:758:5)
    at ChildProcess.emit (events.js:129:20)
    at maybeClose (child_process.js:1015:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
anshulbajpai commented 9 years ago

I am also getting the same problem. Any pointers?

JohnKiller commented 9 years ago

Didn't solve this yet, but still looking for it

kibotu commented 8 years ago

have a look at #59