android - i am using phonegap and i have added local notification plugin in a project but whenever i build my project it shows this error -
executing 'cordova build android'... cp: no such file or directory: d:\sumit\phonegapapp\liveproject\hzt\www\res\icon\ios\icon-72.png cp: no such file or directory: d:\sumit\phonegapapp\liveproject\hzt\www\res\icon\ios\icon-72-2x.png running command: cmd "/s /c "d:\sumit\phonegapapp\liveproject\hzt\platforms\android\cordova\build.bat"" android_home=d:\softwares\phonegap (32 bit)\adt-bundle-windows-x86-20140702\sdk java_home=c:\program files\java\jdk1.8.0_65 running: d:\sumit\phonegapapp\liveproject\hzt\platforms\android\gradlew cdvbuilddebug -b d:\sumit\phonegapapp\liveproject\hzt\platforms\android\build.gradle -dorg.gradle.daemon=true :prebuild :compiledebugndk up-to-date :predebugbuild :checkdebugmanifest :cordovalib:compilelint :cordovalib:copydebuglint up-to-date :cordovalib:mergedebugproguardfiles up-to-date :cordovalib:prebuild :cordovalib:predebugbuild :cordovalib:checkdebugmanifest :cordovalib:preparedebugdependencies :cordovalib:compiledebugaidl up-to-date :cordovalib:compiledebugrenderscript up-to-date :cordovalib:generatedebugbuildconfig up-to-date :cordovalib:generatedebugassets up-to-date :cordovalib:mergedebugassets up-to-date :cordovalib:generatedebugresvalues up-to-date :cordovalib:generatedebugresources up-to-date :cordovalib:packagedebugresources up-to-date :cordovalib:processdebugmanifest up-to-date :cordovalib:processdebugresources up-to-date :cordovalib:generatedebugsources up-to-date :cordovalib:compiledebugjava up-to-date :cordovalib:processdebugjavares up-to-date :cordovalib:packagedebugjar up-to-date :cordovalib:compiledebugndk up-to-date :cordovalib:packagedebugjnilibs up-to-date :cordovalib:packagedebuglocaljar up-to-date :cordovalib:packagedebugrenderscript up-to-date :cordovalib:bundledebug up-to-date :prepareandroidcordovalibunspecifieddebuglibrary up-to-date :prereleasebuild :cordovalib:copyreleaselint up-to-date :cordovalib:mergereleaseproguardfiles up-to-date :cordovalib:prereleasebuild :cordovalib:checkreleasemanifest :cordovalib:preparereleasedependencies :cordovalib:compilereleaseaidl up-to-date :cordovalib:compilereleaserenderscript up-to-date :cordovalib:generatereleasebuildconfig up-to-date :cordovalib:generatereleaseassets up-to-date :cordovalib:mergereleaseassets up-to-date :cordovalib:generatereleaseresvalues up-to-date :cordovalib:generatereleaseresources up-to-date :cordovalib:packagereleaseresources up-to-date :cordovalib:processreleasemanifest up-to-date :cordovalib:processreleaseresources up-to-date :cordovalib:generatereleasesources up-to-date :cordovalib:compilereleasejava up-to-date :cordovalib:processreleasejavares up-to-date :cordovalib:packagereleasejar up-to-date :cordovalib:compilereleasendk up-to-date :cordovalib:packagereleasejnilibs up-to-date :cordovalib:packagereleaselocaljar up-to-date :cordovalib:packagereleaserenderscript up-to-date :cordovalib:bundlerelease up-to-date :preparecomandroidsupportsupportv42311library up-to-date :preparedebugdependencies :compiledebugaidl :compiledebugrenderscript :generatedebugbuildconfig up-to-date :generatedebugassets up-to-date :mergedebugassets :generatedebugresvalues up-to-date :generatedebugresources :mergedebugresources :processdebugmanifest :processdebugresources :generatedebugsources :compiledebugjava d:\sumit\phonegapapp\liveproject\hzt\platforms\android\src\de\appplant\cordova\plugin\notification\options.java:245: error: cannot find symbol return notificationcompat.default_lights; ^ symbol: variable default_lights location: class notificationcompat d:\sumit\phonegapapp\liveproject\hzt\platforms\android\src\de\appplant\cordova\plugin\notification\options.java:262: error: cannot find symbol return notificationcompat.color_default; ^ symbol: variable color_default location: class notificationcompat d:\sumit\phonegapapp\liveproject\hzt\platforms\android\src\de\appplant\cordova\plugin\notification\builder.java:130: error: cannot find symbol .setcolor(options.getcolor()) ^ symbol: method setcolor(int) location: class builder note: input files use or override deprecated api. note: recompile -xlint:deprecation details. note: input files use unchecked or unsafe operations. note: recompile -xlint:unchecked details. 3 errors failed failure: build failed exception. * went wrong: execution failed task ':compiledebugjava'. > compilation failed; see compiler error output details. * try: run --stacktrace option stack trace. run --info or --debug option more log output. build failed total time: 7.947 secs d:\sumit\phonegapapp\liveproject\hzt\platforms\android\cordova\node_modules\q\q.js:126 throw e; ^ error code 1 command: cmd args: /s /c "d:\sumit\phonegapapp\liveproject\hzt\platforms\android\gradlew cdvbuilddebug -b d:\sumit\phonegapapp\liveproject\hzt\platforms\android\build.gradle -dorg.gradle.daemon=true" error building 1 of platforms: error: cmd: command failed exit code 1 may not have required environment or os build project error: cmd: command failed exit code 1
i having same problem, removed plugin , added , older version , worked ionic plugin add de.appplant.cordova.plugin.local-notification@0.7.8
Comments
Post a Comment