{"action":"opened","issue":{"url":"https://api.github.com/repos/Zen-CODE/kivybits/issues/26","repository_url":"https://api.github.com/repos/Zen-CODE/kivybits","labels_url":"https://api.github.com/repos/Zen-CODE/kivybits/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Zen-CODE/kivybits/issues/26/comments","events_url":"https://api.github.com/repos/Zen-CODE/kivybits/issues/26/events","html_url":"https://github.com/Zen-CODE/kivybits/issues/26","id":361887688,"node_id":"MDU6SXNzdWUzNjE4ODc2ODg=","number":26,"title":" ERROR: ./gradlew failed!.","user":{"login":"thegameguy","id":25741650,"node_id":"MDQ6VXNlcjI1NzQxNjUw","avatar_url":"https://avatars3.githubusercontent.com/u/25741650?v=4","gravatar_id":"","url":"https://api.github.com/users/thegameguy","html_url":"https://github.com/thegameguy","followers_url":"https://api.github.com/users/thegameguy/followers","following_url":"https://api.github.com/users/thegameguy/following{/other_user}","gists_url":"https://api.github.com/users/thegameguy/gists{/gist_id}","starred_url":"https://api.github.com/users/thegameguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thegameguy/subscriptions","organizations_url":"https://api.github.com/users/thegameguy/orgs","repos_url":"https://api.github.com/users/thegameguy/repos","events_url":"https://api.github.com/users/thegameguy/events{/privacy}","received_events_url":"https://api.github.com/users/thegameguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T19:09:02Z","updated_at":"2018-09-19T19:09:02Z","closed_at":null,"author_association":"NONE","body":"hey, i'm really struggling with this very last problem during buildozer build that is [WARNING]: ERROR: ./gradlew failed!. error details: \r\n\r\n[INFO]:    Selecting java build tool:\r\n[INFO]:    Detected highest available build tools version to be 28.0.2\r\n[INFO]:        Building with gradle, as gradle executable is present\r\n[DEBUG]:   -> running gradlew assembleDebug\r\n[DEBUG]:    > Configuring > 0/1 projects > root project > Resolving dependenIncremental java compilation is an incubating feature.\r\n[DEBUG]:    :preBuild UP-TO-DATE\r\n[DEBUG]:    :preDebugBuild UP-TO-DATE\r\n[DEBUG]:    :checkDebugManifest\r\n[DEBUG]:    :prepareDebugDependencies\r\n[DEBUG]:    :compileDebugAidl\r\n[DEBUG]:    :compileDebugRenderscript\r\n[DEBUG]:    :generateDebugBuildConfig\r\n[DEBUG]:    :generateDebugResValues\r\n[DEBUG]:    :generateDebugResources\r\n[DEBUG]:    :mergeDebugResources\r\n[DEBUG]:    :processDebugManifest\r\n[DEBUG]:    :processDebugResources\r\n[DEBUG]:    :generateDebugSources\r\n[DEBUG]:    :incrementalDebugJavaCompilationSafeguard\r\n[DEBUG]:    :javaPreCompileDebug\r\n[DEBUG]:    :compileDebugJavaWithJavac\r\n[DEBUG]:    :compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).\r\n[DEBUG]:    /home/kivy/test3/.buildozer/android/platform/build/dists/myapp/src/main/java/org/kivy/android/PythonService.java:97: error: cannot find symbol\r\n[DEBUG]:            notification.setLatestEventInfo(context, serviceTitle, serviceDescription, pIntent);\r\n[DEBUG]:                        ^\r\n[DEBUG]:      symbol:   method setLatestEventInfo(Context,String,String,PendingIntent)\r\n[DEBUG]:      location: variable notification of type Notification\r\n[DEBUG]:    Note: Some input files use or override a deprecated API.\r\n[DEBUG]:    Note: Recompile with -Xlint:deprecation for details.\r\n[DEBUG]:    1 error\r\n[DEBUG]:    :compileDebugJavaWithJavac FAILED\r\n[DEBUG]:    \r\n[DEBUG]:    FAILURE: Build failed with an exception.\r\n[DEBUG]:    \r\n[DEBUG]:    * What went wrong:\r\n[DEBUG]:    Execution failed for task ':compileDebugJavaWithJavac'.\r\n[DEBUG]:    > Compilation failed; see the compiler error output for details.\r\n[DEBUG]:    \r\n[DEBUG]:    * Try:\r\n[DEBUG]:    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n[DEBUG]:    \r\n[DEBUG]:    BUILD FAILED\r\n[DEBUG]:    \r\n[DEBUG]:    Total time: 12.647 secs\r\nException in thread background thread for pid 31613:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 801, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 754, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/home/kivy/.local/lib/python2.7/site-packages/sh.py\", line 2170, in background_thread\r\n    handle_exit_code(exit_code)\r\n  File \"/home/kivy/.local/lib/python2.7/site-packages/sh.py\", line 1929, in fn\r\n    return self.command.handle_command_exit_code(exit_code)\r\n  File \"/home/kivy/.local/lib/python2.7/site-packages/sh.py\", line 672, in handle_command_exit_code\r\n    raise exc\r\nErrorReturnCode_1:\r\n \r\n  RAN: ./gradlew assembleDebug\r\n \r\n  STDOUT:\r\nIncremental java compilation is an incubating feature.\r\n:preBuild UP-TO-DATE\r\n:preDebugBuild UP-TO-DATE\r\n:checkDebugManifest\r\n:prepareDebugDependencies\r\n:compileDebugAidl\r\n:compileDebugRenderscript\r\n:generateDebugBuildConfig\r\n:generateDebugResValues\r\n:generateDebugResources\r\n:mergeDebugResources\r\n:processDebugManifest\r\n:processDebugResources\r\n:generateDebugSources\r\n:incrementalDebugJavaCompilationSafeguard\r\n:javaPreCompileDebug\r\n:compileDebugJavaWithJavac\r\n:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).\r\n/home/kivy/test3/.buildozer/android/platform/build/dists/myapp/src/main/java/org/kivy/android/PythonService.java:97: error: cannot find symbol\r\n        notification.setLatestEventInfo(context, serviceTitle, serviceDescription, pIntent);\r\n                    ^\r\n  symbol:   method setLatestEventInfo(Context,String,String,PendingIntent)\r\n  location: variable notification of type Notification\r\nNote: Some input files use or override a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n1 error\r\n:compileDebugJavaWithJavac FAILED\r\n \r\nFAILURE: Build failed with an exception.\r\n \r\n* What went wrong:\r\nExecution failed for task ':compileDebugJavaWithJavac'.\r\n> Compilation failed; see the compiler error output for details.\r\n \r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n \r\nBUILD FAILED\r\n \r\nTotal time: 12.647 secs\r\n \r\n \r\n  STDERR:\r\n \r\n \r\n[DEBUG]:    \r\n[INFO]:    STDOUT (last 20 lines of 41):\r\n      symbol:   method setLatestEventInfo(Context,String,String,PendingIntent) \r\n  location: variable notification of type Notification \r\nNote: Some input files use or override a deprecated API.   \r\nNote: Recompile with -Xlint:deprecation for details.   \r\n1 error\r\n:compileDebugJavaWithJavac FAILED  \r\n   \r\nFAILURE: Build failed with an exception.   \r\n   \r\n* What went wrong: \r\nExecution failed for task ':compileDebugJavaWithJavac'.\r\n> Compilation failed; see the compiler error output for details.   \r\n   \r\n* Try: \r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. \r\n   \r\nBUILD FAILED   \r\n   \r\nTotal time: 12.647 secs\r\n \r\n[INFO]:    STDERR:\r\n   \r\n[INFO]:    COMMAND:\r\ncd /home/kivy/test3/.buildozer/android/platform/build/dists/myapp && ./gradlew assembleDebug\r\n \r\n[WARNING]: ERROR: ./gradlew failed!\r\n# Command failed: /usr/bin/python -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name myapp --name 'My Application' --version 0.1 --package org.test.myapp --android_api 27 --minsdk 19 --private /home/kivy/test3/.buildozer/android/app --orientation portrait --window --copy-libs --arch armeabi-v7a --color=always --storage-dir=/home/kivy/test3/.buildozer/android/platform/build\r\n#\r\n# Buildozer failed to execute the last command\r\n# The error might be hidden in the log above this error\r\n# Please read the full log, and search for it before\r\n# raising an issue with buildozer itself.\r\n# In case of a bug report, please add a full log with log_level = 2\r\n\r\n\r\nremedies i've tried include: - buildozer android clean - deleting .buildozer folder - reinstalling API 27 builds tools, API 28 build tools are the higest though! - reinstalling open jdk 8"}}
{"actor":{"display_login":"thegameguy"}}