Ehsan Amiri's Recent Forum Activity

  • hello everyone

    in my game, when I turn oi web gl and i run it in apk my fonts in some where is not supported and somewhere it is true!

    I add@font-face { font-family: 'my font'; src: url('fonts/my font.ttf'); format('truetype'); } in index.html file and I had made font folder with font file too.

    please help me.

    thanks a lot

    Tagged:

  • Did you use the load/save system that Construct provides?

    No

    Because it makes problem in save the coin value.

    incredibly that is not any problem in source but when I export to android it has problem

  • hello everuone

    in my game player buys car but it does not saved!

    actually I used a global varibual and local storage but it dose not work😥😥😥

    i save coins and levels by two thesae one what i dont no what it does not work for save bought cars...

    please help me what do i have to do?🙏🏻🙏🏻🙏🏻🙏🏻

    Tagged:

  • hi everyone

    I made app by Cordova cmd and android studio that had some problems.

    I fixed problems in source file and i want to rebuild it.

    but when I run for example Cordova Create Cars com.Ehsan.Cars Cars

    it does not make Cordova project same past and it just sayCreating a new cordova project.

    please help me what I have to do.

    I must to make this apk app until tonight

    Tagged:

  • Hello everyone!

    when I try to install Cordova by cmd, I see this:

    please help how do I solve this errors.

    best regards

    Ehsan

  • Using the Cordova CLI is the only free option.

    Build services are complicated to set up and require on-going hosting costs to run, so it's not generally economical for these services to be free.

    Thank you very much for your help Ashley🌹

    I export my project by cordove cli.

  • the Cordova cli is working with android studio and it is DIFFICULT!!!!

    please say a easy, free and also good way to export apk🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • is it free?

    I asked because I cant pay $ from my country and I try to find free one.

  • thanks for your help.

    what option do u recommend?

    unfortunately cocoon has been retired too.

  • You do not have permission to view this post

  • hello everyone!

    I need help for very important work.

    I export my game by phone gap but it shows a error and when i inter to log page, I saw this:

    Build Date: 2021-01-20 20:24:00 +0000

    --------------------------------------------------------------------------------

    PLUGIN OUTPUT

    --------------------------------------------------------------------------------

    Fetching plugin "cordova-custom-config@5.1.0" via npm

    Installing "cordova-custom-config" at "5.1.0" for android

    Fetching plugin "cordova-plugin-file@6.0.2" via npm

    Installing "cordova-plugin-file" at "6.0.2" for android

    Plugin doesn't support this project's cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0

    Skipping 'cordova-plugin-file' for android

    Fetching plugin "cordova-plugin-inappbrowser@4.1.0" via npm

    Installing "cordova-plugin-inappbrowser" at "4.1.0" for android

    Fetching plugin "cordova-plugin-statusbar@2.4.3" via npm

    Installing "cordova-plugin-statusbar" at "2.4.3" for android

    Fetching plugin "cordova-plugin-vibration@3.1.1" via npm

    Installing "cordova-plugin-vibration" at "3.1.1" for android

    Fetching plugin "cordova-plugin-whitelist@1.3.4" via npm

    Installing "cordova-plugin-whitelist" at "1.3.4" for android

    Fetching plugin "cordova-plugin-wkwebview-engine@1.2.1" via npm

    Installing "cordova-plugin-wkwebview-engine" at "1.2.1" for android

    WARNING: Overriding compileSdkVersion from android-25 (default) to android-29

    WARNING: This is unsupported, please consider updating your phonegap version instead

    --------------------------------------------------------------------------------

    PROJECT PROPERTIES

    --------------------------------------------------------------------------------

    # This file is automatically generated by Android Tools.

    # Do not modify this file -- YOUR CHANGES WILL BE ERASED!

    #

    # This file must be checked in Version Control Systems.

    #

    # To customize properties used by the Ant build system edit

    # "ant.properties", and override values to adapt the script to your

    # project structure.

    #

    # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):

    #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

    # Project target.

    target=android-29

    android.library.reference.1=CordovaLib

    --------------------------------------------------------------------------------

    COMPILE OUTPUT

    --------------------------------------------------------------------------------

    Subproject Path: CordovaLib

    Running command: /var/gimlet/tmp/4079082/project/gradlew cdvBuildDebug -b /var/gimlet/tmp/4079082/project/build.gradle -Dorg.gradle.daemon=true -Dorg.gradle.jvmargs=-Xmx2048m -Pandroid.useDeprecatedNdk=true -Dorg.gradle.caching=false

    Could not initialize analytics, treating as opt-out.

    java.io.FileNotFoundException: /.android/analytics.settings (No such file or directory)

    at java.io.RandomAccessFile.open0(Native Method)

    at java.io.RandomAccessFile.open(RandomAccessFile.java:316)

    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)

    at com.android.tools.analytics.AnalyticsSettings.saveSettings(AnalyticsSettings.java:266)

    at com.android.tools.analytics.AnalyticsSettings.createNewAnalyticsSettings(AnalyticsSettings.java:202)

    at com.android.builder.profile.ProcessRecorderFactory.initializeAnalytics(ProcessRecorderFactory.java:196)

    at com.android.builder.profile.ProcessRecorderFactory.get(ProcessRecorderFactory.java:220)

    at com.android.builder.profile.ProcessRecorderFactory.initialize(ProcessRecorderFactory.java:122)

    at com.android.build.gradle.internal.profile.ProfilerInitializer.init(ProfilerInitializer.java:66)

    at com.android.build.gradle.BasePlugin.apply(BasePlugin.java:310)

    at com.android.build.gradle.AppPlugin.apply(AppPlugin.java:75)

    at com.android.build.gradle.AppPlugin.apply(AppPlugin.java:41)

    at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)

    at org.gradle.api.internal.plugins.RuleBasedPluginApplicator.applyImperative(RuleBasedPluginApplicator.java:43)

    at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:139)

    at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:112)

    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyType(DefaultObjectConfigurationAction.java:113)

    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36)

    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:80)

    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:136)

    at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:44)

    at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:34)

    at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)

    at build_dwaurchq7nmk9figajjkgbagr.run(/var/gimlet/tmp/4079082/project/build.gradle:39)

    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:90)

    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:176)

    at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)

    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:181)

    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:39)

    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)

    at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)

    at org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.java:70)

    at org.gradle.configuration.project.LifecycleProjectEvaluator.access$000(LifecycleProjectEvaluator.java:33)

    at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:53)

    at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:50)

    at org.gradle.internal.Transformers$4.transform(Transformers.java:169)

    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)

    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)

    at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:50)

    at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:628)

    at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:129)

    at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)

    at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:60)

    at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:38)

    at org.gradle.initialization.DefaultGradleLauncher$1.execute(DefaultGradleLauncher.java:161)

    at org.gradle.initialization.DefaultGradleLauncher$1.execute(DefaultGradleLauncher.java:158)

    at org.gradle.internal.Transformers$4.transform(Transformers.java:169)

    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)

    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)

    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:158)

    at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)

    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)

    at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)

    at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)

    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)

    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)

    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)

    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)

    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)

    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)

    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)

    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)

    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)

    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)

    at org.gradle.util.Swapper.swap(Swapper.java:38)

    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)

    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)

    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)

    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)

    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)

    at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

    at java.lang.Thread.run(Thread.java:748)

    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_dwaurchq7nmk9figajjkgbagr.run(/var/gimlet/tmp/4079082/project/build.gradle:156)

    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.

    The ProjectDependency.getProjectConfiguration() method has been deprecated and is scheduled to be removed in Gradle 4.0.

    ModuleDependency.getConfiguration() has been deprecated and is scheduled to be removed in Gradle 4.0. Use ModuleDependency.getTargetConfiguration() instead.

    :preBuild UP-TO-DATE

    :preDebugBuild UP-TO-DATE

    :checkDebugManifest

    :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

    :prepareProjectCordovaLibUnspecifiedDebugLibrary

    :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.).

    /var/gimlet/tmp/4079082/project/src/org/apache/cordova/inappbrowser/InAppChromeClient.java:163: error: local variable inAppWebView is accessed from within inner class; needs to be declared final

    inAppWebView.loadUrl(request.getUrl().toString());

    ^

    /var/gimlet/tmp/4079082/project/src/org/apache/cordova/inappbrowser/InAppChromeClient.java:169: error: local variable inAppWebView is accessed from within inner class; needs to be declared final

    inAppWebView.loadUrl(url);

    ^

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    2 errors

    :compileDebugJavaWithJavac FAILED

    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.

    BUILD FAILED

    Total time: 9.453 secs

    Command finished with error code 1: /var/gimlet/tmp/4079082/project/gradlew cdvBuildDebug,-b,/var/gimlet/tmp/4079082/project/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true,-Dorg.gradle.caching=false

    Error: /var/gimlet/tmp/4079082/project/gradlew: Command failed with exit code 1 Error output:

    Could not initialize analytics, treating as opt-out.

    java.io.FileNotFoundException: /.android/analytics.settings (No such file or directory)

    at java.io.RandomAccessFile.open0(Native Method)

    at java.io.RandomAccessFile.open(RandomAccessFile.java:316)

    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)

    at com.android.tools.analytics.AnalyticsSettings.saveSettings(AnalyticsSettings.java:266)

    at com.android.tools.analytics.AnalyticsSettings.createNewAnalyticsSettings(AnalyticsSettings.java:202)

    at com.android.builder.profile.ProcessRecorderFactory.initializeAnalytics(ProcessRecorderFactory.java:196)

    at com.android.builder.profile.ProcessRecorderFactory.get(ProcessRecorderFactory.java:220)

    at com.android.builder.profile.ProcessRecorderFactory.initialize(ProcessRecorderFactory.java:122)

    at com.android.build.gradle.internal.profile.ProfilerInitializer.init(ProfilerInitializer.java:66)

    at com.android.build.gradle.BasePlugin.apply(BasePlugin.java:310)

    at com.android.build.gradle.AppPlugin.apply(AppPlugin.java:75)

    at com.android.build.gradle.AppPlugin.apply(AppPlugin.java:41)

    at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)

    at org.gradle.api.internal.plugins.RuleBasedPluginApplicator.applyImperative(RuleBasedPluginApplicator.java:43)

    at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:139)

    at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:112)

    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyType(DefaultObjectConfigurationAction.java:113)

    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36)

    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:80)

    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:136)

    at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:44)

    at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:34)

    at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)

    at build_dwaurchq7nmk9figajjkgbagr.run(/var/gimlet/tmp/4079082/project/build.gradle:39)

    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:90)

    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:176)

    at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)

    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:181)

    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:39)

    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)

    at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)

    at org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.java:70)

    at org.gradle.configuration.project.LifecycleProjectEvaluator.access$000(LifecycleProjectEvaluator.java:33)

    at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:53)

    at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:50)

    at org.gradle.internal.Transformers$4.transform(Transformers.java:169)

    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)

    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)

    at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:50)

    at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:628)

    at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:129)

    at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)

    at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:60)

    at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:38)

    at org.gradle.initialization.DefaultGradleLauncher$1.execute(DefaultGradleLauncher.java:161)

    at org.gradle.initialization.DefaultGradleLauncher$1.execute(DefaultGradleLauncher.java:158)

    at org.gradle.internal.Transformers$4.transform(Transformers.java:169)

    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)

    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)

    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:158)

    at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)

    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)

    at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)

    at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)

    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)

    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)

    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)

    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)

    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)

    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)

    at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)

    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)

    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)

    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)

    at org.gradle.util.Swapper.swap(Swapper.java:38)

    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)

    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)

    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)

    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)

    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)

    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)

    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)

    at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

    at java.lang.Thread.run(Thread.java:748)

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    /var/gimlet/tmp/4079082/project/src/org/apache/cordova/inappbrowser/InAppChromeClient.java:163: error: local variable inAppWebView is accessed from within inner class; needs to be declared final

    inAppWebView.loadUrl(request.getUrl().toString());

    ^

    /var/gimlet/tmp/4079082/project/src/org/apache/cordova/inappbrowser/InAppChromeClient.java:169: error: local variable inAppWebView is accessed from within inner class; needs to be declared final

    inAppWebView.loadUrl(url);

    ^

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    2 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.

    at ChildProcess.whenDone (/var/gimlet/tmp/4079082/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)

    at emitTwo (events.js:126:13)

    at ChildProcess.emit (events.js:214:7)

    at maybeClose (internal/child_process.js:915:16)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

    if you can please help me soon.thanks a lot.

    have a graet time!

    ehesan

  • Set money to clamp(money, 0, 1000000000) should work.

    You can also use max(money, 0)

    Thank You so mach

    I Found it!

Ehsan Amiri's avatar

Ehsan Amiri

Member since 29 May, 2020

None one is following Ehsan Amiri yet!

Trophy Case

  • 4-Year Club
  • Email Verified

Progress

5/44
How to earn trophies