Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229600

Can't export apk when implemented free admob

$
0
0

hello ionic developers i had this issues when i

mplemented admob i got this thanks for answer
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:46: error: cannot find symbol
private RewardVideoExecutor rewardVideoExecutor = null;
^
symbol: class RewardVideoExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:70: error: cannot find symbol
bannerExecutor = new BannerExecutor(this);
^
symbol: class BannerExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:73: error: cannot find symbol
interstitialExecutor = new InterstitialExecutor(this);
^
symbol: class InterstitialExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:76: error: cannot find symbol
rewardVideoExecutor = new RewardVideoExecutor(this);
^
symbol: class RewardVideoExecutor
location: class AdMob
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
9 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app: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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 3m 17s

[OK] Your app has been deployed.
Did you know you can live-reload changes from your app with --livereload?

C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp>–Liveload
’–Liveload’ is not recognized as an internal or external command,
operable program or batch file.

C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp>livereload
’livereload’ is not recognized as an internal or external command,
operable program or batch file.

C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp>ionic cordova run andro
id
Running app-scripts build: --platform android --target cordova
[19:54:26] build dev started …
[19:54:26] clean started …
[19:54:26] clean finished in 14 ms
[19:54:26] copy started …
[19:54:26] deeplinks started …
[19:54:26] deeplinks finished in 78 ms
[19:54:26] transpile started …
[19:54:37] transpile finished in 11.46 s
[19:54:37] preprocess started …
[19:54:37] preprocess finished in 16 ms
[19:54:37] webpack started …
[19:54:38] copy finished in 12.22 s
[19:55:07] webpack finished in 29.97 s
[19:55:07] sass started …
Without from option PostCSS could generate wrong source map and will not find
Browserslist config. Set it to CSS file path or to undefined to prevent this w
arning.
[19:55:17] sass finished in 9.31 s
[19:55:17] postprocess started …
[19:55:17] postprocess finished in 93 ms
[19:55:17] lint started …
[19:55:17] build dev finished in 51.13 s

cordova run android
[19:56:01] lint finished in 44.70 s
Android Studio project detected

ANDROID_HOME=C:\Users\galaxie\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_121
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now
published.

The Task.leftShift(Closure) method has been deprecated and is scheduled to be re
moved in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_b2lrfohqf6hgorut3jafpqp6s.run(C:\Users\galaxie\Desktop\onic\app
withadmob1\templatesapp\platforms\android\app\build.gradle:143)
Configuration ‘compile’ in project ‘:app’ is deprecated. Use ‘implementation’ in
stead.
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:platformAttrExtractor UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:javaPreCompileDebug UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-T
O-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild
UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript
UP-TO-DATE

:app:checkDebugManifest

UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar

UP-TO-DATE
:app:generateDebugResValues
UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources

UP-TO-DATE
:app:createDebugCompatibleScreenManifests UP-TO-DATE

:app:processDebugManifest

UP-TO-DATE
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:app:processDebugResources

UP-TO-DATE
:app:generateDebugSources
UP-TO-DATE

:app:javaPreCompileDebug

UP-TO-DATE
:app:compileDebugJavaWithJavac
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:27: error: package name.ratson
.cordova.admob.banner does not exist
import name.ratson.cordova.admob.banner.BannerExecutor;
^
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:28: error: package name.ratson
.cordova.admob.interstitial does not exist
import name.ratson.cordova.admob.interstitial.InterstitialExecutor;
^
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:29: error: package name.ratson
.cordova.admob.rewardvideo does not exist
import name.ratson.cordova.admob.rewardvideo.RewardVideoExecutor;
^
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:44: error: cannot find symbol
private BannerExecutor bannerExecutor = null;
^
symbol: class BannerExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:45: error: cannot find symbol
private InterstitialExecutor interstitialExecutor = null;
^
symbol: class InterstitialExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:46: error: cannot find symbol
private RewardVideoExecutor rewardVideoExecutor = null;
^
symbol: class RewardVideoExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:70: error: cannot find symbol
bannerExecutor = new BannerExecutor(this);
^
symbol: class BannerExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:73: error: cannot find symbol
interstitialExecutor = new InterstitialExecutor(this);
^
symbol: class InterstitialExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:76: error: cannot find symbol
rewardVideoExecutor = new RewardVideoExecutor(this);
^
symbol: class RewardVideoExecutor
location: class AdMob
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
9 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app: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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 37s
FAILED
27 actionable tasks: 1 executed, 26 up-to-date
(node:18140) UnhandledPromiseRejectionWarning: Unhandled promise rejection (reje
ction id: 1): Error: cmd: Command failed with exit code 1 Error output:
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:27: error: package name.ratson
.cordova.admob.banner does not exist
import name.ratson.cordova.admob.banner.BannerExecutor;
^
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:28: error: package name.ratson
.cordova.admob.interstitial does not exist
import name.ratson.cordova.admob.interstitial.InterstitialExecutor;
^
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:29: error: package name.ratson
.cordova.admob.rewardvideo does not exist
import name.ratson.cordova.admob.rewardvideo.RewardVideoExecutor;
^
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:44: error: cannot find symbol
private BannerExecutor bannerExecutor = null;
^
symbol: class BannerExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:45: error: cannot find symbol
private InterstitialExecutor interstitialExecutor = null;
^
symbol: class InterstitialExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:46: error: cannot find symbol
private RewardVideoExecutor rewardVideoExecutor = null;
^
symbol: class RewardVideoExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:70: error: cannot find symbol
bannerExecutor = new BannerExecutor(this);
^
symbol: class BannerExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:73: error: cannot find symbol
interstitialExecutor = new InterstitialExecutor(this);
^
symbol: class InterstitialExecutor
location: class AdMob
C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp\platforms\android\app\s
rc\main\java\name\ratson\cordova\admob\AdMob.java:76: error: cannot find symbol
rewardVideoExecutor = new RewardVideoExecutor(this);
^
symbol: class RewardVideoExecutor
location: class AdMob
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
9 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app: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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 37s

[OK] Your app has been deployed.
Did you know you can live-reload changes from your app with --livereload?

C:\Users\galaxie\Desktop\onic\appwithadmob1\templatesapp>


Viewing all articles
Browse latest Browse all 229600

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>