sdrrv's Forum Posts

  • 7 posts
  • did you solved it?

  • Hi guys! I am having a different problem here...

    I am not able to export the project!

    Evry time that i try to compile in coccon.io it just sends me an error... i am using "cordova-plugin-firebase" plugin...

    the error is:

    COMPILER ERROR:

    /workspace/platforms/android/gradlew: 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.

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:3: error: cannot find symbol

    import android.app.NotificationChannel;

    ^

    symbol: class NotificationChannel

    location: package android.app

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:129: error: constructor Builder in class Builder cannot be applied to given types;

    NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this, channelId);

    ^

    required: Context

    found: FirebasePluginMessagingService,String

    reason: actual and formal argument lists differ in length

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:187: error: cannot find symbol

    if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {

    ^

    symbol: variable O

    location: class VERSION_CODES

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:188: error: cannot find symbol

    NotificationChannel channel = new NotificationChannel(channelId, channelName, NotificationManager.IMPORTANCE_HIGH);

    ^

    symbol: class NotificationChannel

    location: class FirebasePluginMessagingService

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:188: error: cannot find symbol

    NotificationChannel channel = new NotificationChannel(channelId, channelName, NotificationManager.IMPORTANCE_HIGH);

    ^

    symbol: class NotificationChannel

    location: class FirebasePluginMessagingService

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

    Note: Recompile with -Xlint:deprecation for details.

    5 errors

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':compileArmv7DebugJavaWithJavac'.

    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.

    CORDOVA LOG:

    coon-plugin-android-architecture/LICENSE

    cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md

    cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/plugin.xml

    Preparing Firebase on Android

    [2018-07-27T18:02:56.551] [DEBUG] AndroidBuilder - [build]

    Warning: File /.android/repositories.cfg could not be loaded.

    yes: standard output: Broken pipe

    yes: write error

    [2018-07-27T18:02:57.996] [DEBUG] AndroidBuilder - [build] call cordova

    cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE

    cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE

    cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md

    skipping existing file: architecture.gradle

    cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE

    cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md

    cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/plugin.xml

    Preparing Firebase on Android

    ANDROID_HOME=/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux

    JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

    Subproject Path: CordovaLib

    Starting a Gradle Daemon, 18 stopped Daemons could not be reused, use --status for details

    null

    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_egpvgxu76kqmkip1uusrena6f.run(/workspace/platforms/android/build.gradle:141)

    org.xwalk:xwalk_core_library:22+

    Not writing assets/xwalk-command-line since file already exists.

    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

    :preArmv7DebugBuild UP-TO-DATE

    :checkArmv7DebugManifest

    :preArmv7ReleaseBuild UP-TO-DATE

    :preX86DebugBuild UP-TO-DATE

    :preX86ReleaseBuild 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

    :prepareComAndroidSupportSupportCompat2420Library

    :prepareComAndroidSupportSupportCoreUi2420Library

    :prepareComAndroidSupportSupportCoreUtils2420Library

    :prepareComAndroidSupportSupportFragment2420Library

    :prepareComAndroidSupportSupportMediaCompat2420Library

    :prepareComAndroidSupportSupportV42420Library

    :prepareComGoogleAndroidGmsPlayServicesAds902Library

    :prepareComGoogleAndroidGmsPlayServicesAdsIdentifier1501Library

    :prepareComGoogleAndroidGmsPlayServicesAdsLite902Library

    :prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl1601Library

    :prepareComGoogleAndroidGmsPlayServicesBase1501Library

    :prepareComGoogleAndroidGmsPlayServicesBasement1501Library

    :prepareComGoogleAndroidGmsPlayServicesClearcut1501Library

    :prepareComGoogleAndroidGmsPlayServicesFlags1501Library

    :prepareComGoogleAndroidGmsPlayServicesMeasurementBase1600Library

    :prepareComGoogleAndroidGmsPlayServicesPhenotype1501Library

    :prepareComGoogleAndroidGmsPlayServicesStats1501Library

    :prepareComGoogleAndroidGmsPlayServicesTagmanager1601Library

    :prepareComGoogleAndroidGmsPlayServicesTagmanagerApi1601Library

    :prepareComGoogleAndroidGmsPlayServicesTasks1501Library

    :prepareComGoogleFirebaseFirebaseAbt1600Library

    :prepareComGoogleFirebaseFirebaseAnalytics1601Library

    :prepareComGoogleFirebaseFirebaseAnalyticsImpl1611Library

    :prepareComGoogleFirebaseFirebaseAuth1602Library

    :prepareComGoogleFirebaseFirebaseAuthInterop1600Library

    :prepareComGoogleFirebaseFirebaseCommon1600Library

    :prepareComGoogleFirebaseFirebaseConfig1600Library

    :prepareComGoogleFirebaseFirebaseCore1601Library

    :prepareComGoogleFirebaseFirebaseCrash1601Library

    :prepareComGoogleFirebaseFirebaseIid1620Library

    :prepareComGoogleFirebaseFirebaseIidInterop1600Library

    :prepareComGoogleFirebaseFirebaseMeasurementConnector1600Library

    :prepareComGoogleFirebaseFirebaseMeasurementConnectorImpl1601Library

    :prepareComGoogleFirebaseFirebaseMessaging1710Library

    :prepareComGoogleFirebaseFirebasePerf1600Library

    :prepareMeLeolinShortcutBadger114Library

    :prepareOrgApacheCordovaCordovaLib623DebugLibrary

    :prepareOrgXwalkXwalk_core_library22525614Library

    :prepareWebviewplusReleaseLibrary

    :prepareArmv7DebugDependencies

    :compileArmv7DebugAidl

    :compileArmv7DebugRenderscript

    :generateArmv7DebugBuildConfig

    :generateArmv7DebugResValues

    :generateArmv7DebugResources

    :mergeArmv7DebugResources

    :processArmv7DebugManifest

    :processArmv7DebugResources

    :generateArmv7DebugSources

    :incrementalArmv7DebugJavaCompilationSafeguard

    :compileArmv7DebugJavaWithJavac

    :compileArmv7DebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:3: error: cannot find symbol

    import android.app.NotificationChannel;

    ^

    symbol: class NotificationChannel

    location: package android.app

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:129: error: constructor Builder in class Builder cannot be applied to given types;

    NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this, channelId);

    ^

    required: Context

    found: FirebasePluginMessagingService,String

    reason: actual and formal argument lists differ in length

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:187: error: cannot find symbol

    if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {

    ^

    symbol: variable O

    location: class VERSION_CODES

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:188: error: cannot find symbol

    NotificationChannel channel = new NotificationChannel(channelId, channelName, NotificationManager.IMPORTANCE_HIGH);

    ^

    symbol: class NotificationChannel

    location: class FirebasePluginMessagingService

    /workspace/platforms/android/src/org/apache/cordova/firebase/FirebasePluginMessagingService.java:188: error: cannot find symbol

    NotificationChannel channel = new NotificationChannel(channelId, channelName, NotificationManager.IMPORTANCE_HIGH);

    ^

    symbol: class NotificationChannel

    location: class FirebasePluginMessagingService

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

    Note: Recompile with -Xlint:deprecation for details.

    5 errors

    :compileArmv7DebugJavaWithJavac FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':compileArmv7DebugJavaWithJavac'.

    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: 32.449 secs

  • Hi guys!! so dont know if this is possible... But it would be amazing if you guys could help me out!

    How do i export my game for android, with ads ,from admob in phonegap?

    Do i have to use a plugin of some sort? Intel IDK is not a thing anymore right?

  • Thank You very mutch! I used forces to move the sprite!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys! My name is sdrrv and i really need your help.

    I am new here, and my first language is not English is portuguese so excuse me if i occasionally write something wrong

    So i am trying to make a game where my sprite e falling and he needs to avoid colliding with objects. To make my sprite "fall" i am using Phisics! its working pretty well! The only problem is that when i try to move right or left using the 8 Direction the gravity that is pulling my sprite down(Phisics) just stop working! and my sprite only moves to the rigth or left! I want the sprite to move right while he falls down!

    Help!

    Thank you for your time

  • It is not working in android! and now that intel xdk is discontinued how can i add the plugin if i can only use phoneg ap?

  • I am trying to make a multiplayer game , when i enter with the host everything is fine but when i enter withe the peer this message error a peers:" Assertion failure: Creating world instance without specifying layer"

    Can you help me guys ?

  • 7 posts