You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Total time: 1.704 secs
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_9vhk4dn639tzl3psw5nw8wgem.run(D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\build.gradle:141)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:incrementalDebugJavaCompilationSafeguard
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareComAndroidSupportSupportCompat2520Library
:prepareComAndroidSupportSupportCoreUi2520Library
:prepareComAndroidSupportSupportCoreUtils2520Library
:prepareComAndroidSupportSupportFragment2520Library
:prepareComAndroidSupportSupportMediaCompat2520Library
:prepareComAndroidSupportSupportV42520Library
:prepareComGoogleAndroidGmsPlayServicesAds1142Library
:prepareComGoogleAndroidGmsPlayServicesAdsLicense1142Library
:prepareComGoogleAndroidGmsPlayServicesAdsLite1142Library
:prepareComGoogleAndroidGmsPlayServicesAdsLiteLicense1142Library
:prepareComGoogleAndroidGmsPlayServicesBasement1142Library
:prepareComGoogleAndroidGmsPlayServicesBasementLicense1142Library
:prepareComGoogleAndroidGmsPlayServicesGass1142Library
:prepareComGoogleAndroidGmsPlayServicesGassLicense1142Library
:prepareOrgApacheCordovaCordovaLib630DebugLibrary
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources
:generateDebugSources
:incrementalDebugJavaCompilationSafeguard
:compileDebugJavaWithJavac
:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:64: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchase;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:33: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchase;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:34: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchaseListener;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:37: error: cannot find symbol
public class AdMobAdsAppPurchaseListener implements InAppPurchaseListener {
^
symbol: class InAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:40: error: cannot find symbol
private SparseArray purchases = new SparseArray();
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:47: error: cannot find symbol
synchronized public void onInAppPurchaseRequested(final InAppPurchase inAppPurchase) {
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:60: error: cannot find symbol
public InAppPurchase getPurchase(int purchaseId) {
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:626: error: cannot find symbol
interstitialAd.setInAppPurchaseListener(inAppPurchaseListener);
^
symbol: method setInAppPurchaseListener(AdMobAdsAppPurchaseListener)
location: variable interstitialAd of type InterstitialAd
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:705: error: cannot find symbol
final InAppPurchase purchase = inAppPurchaseListener.getPurchase(purchaseId);
^
symbol: class InAppPurchase
location: class AdMobAds
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:728: error: cannot find symbol
final InAppPurchase purchase = inAppPurchaseListener.getPurchase(purchaseId);
^
symbol: class InAppPurchase
location: class AdMobAds
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:40: error: cannot find symbol
private SparseArray purchases = new SparseArray();
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:46: error: method does not override or implement a method from a supertype @OverRide
^
Note: D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java uses or overrides a deprecated API.
:compileDebugJavaWithJavac FAILED
Note: Recompile with -Xlint:deprecation for details.
12 errors
BUILD FAILED
Total time: 37.518 secs
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:64: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchase;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:33: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchase;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:34: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchaseListener;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:37: error: cannot find symbol
public class AdMobAdsAppPurchaseListener implements InAppPurchaseListener {
^
symbol: class InAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:40: error: cannot find symbol
private SparseArray purchases = new SparseArray();
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:47: error: cannot find symbol
synchronized public void onInAppPurchaseRequested(final InAppPurchase inAppPurchase) {
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:60: error: cannot find symbol
public InAppPurchase getPurchase(int purchaseId) {
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:626: error: cannot find symbol
interstitialAd.setInAppPurchaseListener(inAppPurchaseListener);
^
symbol: method setInAppPurchaseListener(AdMobAdsAppPurchaseListener)
location: variable interstitialAd of type InterstitialAd
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:705: error: cannot find symbol
final InAppPurchase purchase = inAppPurchaseListener.getPurchase(purchaseId);
^
symbol: class InAppPurchase
location: class AdMobAds
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:728: error: cannot find symbol
final InAppPurchase purchase = inAppPurchaseListener.getPurchase(purchaseId);
^
symbol: class InAppPurchase
location: class AdMobAds
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:40: error: cannot find symbol
private SparseArray purchases = new SparseArray();
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:46: error: method does not override or implement a method from a supertype @OverRide
^
Note: D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
12 errors
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.`
The text was updated successfully, but these errors were encountered:
alexdobsom
changed the title
admob-google-cordova error on android build
error on android build
Oct 18, 2017
Hi, i get the error below, can you help me out, please ?
PS: if I remove the admob plugin, the build process works
`$ cordova build android
ANDROID_HOME=C:\Users\alexdesk\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_144
:wrapper
BUILD SUCCESSFUL
Total time: 1.704 secs
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_9vhk4dn639tzl3psw5nw8wgem.run(D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\build.gradle:141)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:incrementalDebugJavaCompilationSafeguard
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareComAndroidSupportSupportCompat2520Library
:prepareComAndroidSupportSupportCoreUi2520Library
:prepareComAndroidSupportSupportCoreUtils2520Library
:prepareComAndroidSupportSupportFragment2520Library
:prepareComAndroidSupportSupportMediaCompat2520Library
:prepareComAndroidSupportSupportV42520Library
:prepareComGoogleAndroidGmsPlayServicesAds1142Library
:prepareComGoogleAndroidGmsPlayServicesAdsLicense1142Library
:prepareComGoogleAndroidGmsPlayServicesAdsLite1142Library
:prepareComGoogleAndroidGmsPlayServicesAdsLiteLicense1142Library
:prepareComGoogleAndroidGmsPlayServicesBasement1142Library
:prepareComGoogleAndroidGmsPlayServicesBasementLicense1142Library
:prepareComGoogleAndroidGmsPlayServicesGass1142Library
:prepareComGoogleAndroidGmsPlayServicesGassLicense1142Library
:prepareOrgApacheCordovaCordovaLib630DebugLibrary
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources
:generateDebugSources
:incrementalDebugJavaCompilationSafeguard
:compileDebugJavaWithJavac
:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:64: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchase;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:33: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchase;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:34: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchaseListener;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:37: error: cannot find symbol
public class AdMobAdsAppPurchaseListener implements InAppPurchaseListener {
^
symbol: class InAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:40: error: cannot find symbol
private SparseArray purchases = new SparseArray();
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:47: error: cannot find symbol
synchronized public void onInAppPurchaseRequested(final InAppPurchase inAppPurchase) {
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:60: error: cannot find symbol
public InAppPurchase getPurchase(int purchaseId) {
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:626: error: cannot find symbol
interstitialAd.setInAppPurchaseListener(inAppPurchaseListener);
^
symbol: method setInAppPurchaseListener(AdMobAdsAppPurchaseListener)
location: variable interstitialAd of type InterstitialAd
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:705: error: cannot find symbol
final InAppPurchase purchase = inAppPurchaseListener.getPurchase(purchaseId);
^
symbol: class InAppPurchase
location: class AdMobAds
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:728: error: cannot find symbol
final InAppPurchase purchase = inAppPurchaseListener.getPurchase(purchaseId);
^
symbol: class InAppPurchase
location: class AdMobAds
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:40: error: cannot find symbol
private SparseArray purchases = new SparseArray();
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:46: error: method does not override or implement a method from a supertype
@OverRide
^
Note: D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java uses or overrides a deprecated API.
:compileDebugJavaWithJavac FAILED
Note: Recompile with -Xlint:deprecation for details.
12 errors
BUILD FAILED
Total time: 37.518 secs
FAILURE: Build failed with an exception.
Execution failed for task ':compileDebugJavaWithJavac'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:64: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchase;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:33: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchase;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:34: error: package com.google.android.gms.ads.purchase does not exist
import com.google.android.gms.ads.purchase.InAppPurchaseListener;
^
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:37: error: cannot find symbol
public class AdMobAdsAppPurchaseListener implements InAppPurchaseListener {
^
symbol: class InAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:40: error: cannot find symbol
private SparseArray purchases = new SparseArray();
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:47: error: cannot find symbol
synchronized public void onInAppPurchaseRequested(final InAppPurchase inAppPurchase) {
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:60: error: cannot find symbol
public InAppPurchase getPurchase(int purchaseId) {
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:626: error: cannot find symbol
interstitialAd.setInAppPurchaseListener(inAppPurchaseListener);
^
symbol: method setInAppPurchaseListener(AdMobAdsAppPurchaseListener)
location: variable interstitialAd of type InterstitialAd
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:705: error: cannot find symbol
final InAppPurchase purchase = inAppPurchaseListener.getPurchase(purchaseId);
^
symbol: class InAppPurchase
location: class AdMobAds
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java:728: error: cannot find symbol
final InAppPurchase purchase = inAppPurchaseListener.getPurchase(purchaseId);
^
symbol: class InAppPurchase
location: class AdMobAds
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:40: error: cannot find symbol
private SparseArray purchases = new SparseArray();
^
symbol: class InAppPurchase
location: class AdMobAdsAppPurchaseListener
D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAdsAppPurchaseListener.java:46: error: method does not override or implement a method from a supertype
@OverRide
^
Note: D:!MY PROJECTS\APP-DEV\constitutia\platforms\android\src\com\appfeel\cordova\admob\AdMobAds.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
12 errors
FAILURE: Build failed with an exception.
Execution failed for task ':compileDebugJavaWithJavac'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.`
The text was updated successfully, but these errors were encountered: