Uploaded image for project: 'Appcelerator Modules'
  1. Appcelerator Modules
  2. MOD-2257

Android 6 : Appcelerator Geofence Module (version 1.1.4) and ti.map throwing error

    Details

    • Story Points:
      5
    • Sprint:
      2016 Sprint 13 SDK

      Description

      description

      when we run our app with " Appcelerator Geofence Module (version 1.1.4) " in Android (Android 6.0.1) throwing errors.

      Error Log

      [INFO] :   No aidl files to compile, continuing
      [INFO] :   Generating i18n files
      [INFO] :   Generating /Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/res/values/theme.xml
      [INFO] :   Packaging application: /Users/Raju/Library/android-sdk-macosx/build-tools/23.0.0/aapt "package" "-f" "-m" "-J" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/gen" "-M" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/AndroidManifest.xml" "-A" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/bin/assets" "-S" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/res" "-I" "/Users/Raju/Library/android-sdk-macosx/platforms/android-23/android.jar" "-F" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/bin/app.ap_" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview" "-S" "/var/folders/47/ql8m2gld20g474cjx82w5fdr0000gp/T/116419-1300-136d6pk/res" "-S" "/var/folders/47/ql8m2gld20g474cjx82w5fdr0000gp/T/116419-1300-vyo89i/res" "-S" "/var/folders/47/ql8m2gld20g474cjx82w5fdr0000gp/T/116419-1300-muden0/res"
      [INFO] :   Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/javac "-J-Xmx1024M" "-encoding" "utf8" "-bootclasspath" "/Users/Raju/Library/android-sdk-macosx/platforms/android-23/android.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-v8.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-analytics.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/aps-analytics.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-android.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/jaxen-1.1.1.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/ti-commons-codec-1.3.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-common.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/titanium.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-app.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-ui.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-filesystem.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-media.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-appcompat.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v4.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v7-appcompat.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-cardview.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/cardview-v7-23.0.1.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-locale.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-network.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-xml.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-platform.jar:/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/modules/android/ti.geofence/1.1.4/geofence.jar:/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/modules/android/ti.geofence/1.1.4/lib/google-play-services.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-apt.jar:/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/lib/titanium-verify.jar:R.class:AssetCryptImpl.class:Soastabd6Activity.class:Soastabd6AppInfo.class:Soastabd6Application.class" "-d" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/bin/classes" "-proc:none" "-target" "1.6" "-source" "1.6" "@/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/java-sources.txt"
      [INFO] :   Running dexer: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java "-Xmx512M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=/Users/Raju/Library/android-sdk-macosx/platform-tools" "-jar" "/Users/Raju/Library/android-sdk-macosx/build-tools/23.0.0/lib/dx.jar" "--dex" "--output=/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/bin/classes.dex" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/build/android/bin/classes" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/lib/titanium-verify.jar" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/modules/android/ti.geofence/1.1.4/geofence.jar" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/modules/android/ti.geofence/1.1.4/lib/google-play-services.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-v8.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-analytics.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/aps-analytics.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-android.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/jaxen-1.1.1.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/ti-commons-codec-1.3.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/kroll-common.jar" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/plugins/com.soasta.touchtest.android/soasta/sdk/titanium.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-app.jar" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/plugins/com.soasta.touchtest.android/soasta/sdk/titanium-ui.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/nineoldandroids-appc-2.4.0.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-filesystem.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-media.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-appcompat.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v4.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/android-support-v7-appcompat.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-cardview.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/cardview-v7-23.0.1.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-locale.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-network.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-xml.jar" "/Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/android/modules/titanium-platform.jar" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/plugins/com.soasta.touchtest.android/lib/aspectjrt.jar" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/plugins/com.soasta.touchtest.android/lib/TouchTestDriver.jar" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/plugins/com.soasta.touchtest.android/lib/TouchTestDriver-APIv11.jar" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/plugins/com.soasta.touchtest.android/lib/TouchTestDriver-APIv12.jar" "/Users/Raju/Documents/Appcelerator_Studio_Workspace/soastabd6/plugins/com.soasta.touchtest.android/lib/TouchTestDriver-Titanium.jar"
      [ERROR] :  Failed to run dexer:
      [ERROR] :  
      [ERROR] :  UNEXPECTED TOP-LEVEL ERROR:
      [ERROR] :  java.lang.OutOfMemoryError: Java heap space
      
      

      Test Code : Example code in module.
      Steps to reproduce:
      1. Create a simple project.
      2. Add Appcelerator Geofence Module in tiapp.xml
      3. Add the test code from example folder.
      4. Test it on android 6.0.1

      Environment

      Appcelerator Studio, build: 5.1.0.201508271018
      Operating System
        Name                        = Mac OS X
        Version                     = 10.11.2
        Architecture                = 64bit
        # CPUs                      = 4
        Memory                      = 8589934592
      Node.js
        Node.js Version             = 5.9.0
        npm Version                 = 3.7.3
      Titanium CLI
        CLI Version                 = 5.0.6
      Titanium SDK
        SDK Version                 = 5.2.2.GA
       
      Node.js
        ✓  node               installed (v5.9.0)
        ✓  npm                installed (v3.7.3)
      Java Development Kit
        ✓  jdk                installed (v1.7.0)
        ✓  java               installed /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java
        ✓  javac              installed /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/javac
        ✓  keytool            installed /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/keytool
        ✓  jarsigner          installed /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/jarsigner
       
      Connected Android Devices
        htc_melsuhl
        SDK Version                 = 6.0.1 (android-23)
      
      

      Actual behavior:

      Geofence module throwing error on android 6.0 with SDK 5.2.2 GA.

      Expected behavior

      Geofence module should build properly on android 6.0 with SDK 5.2.2 GA

      Thanks

        Attachments

        1. appc info.txt
          27 kB
        2. log.txt
          6.24 MB
        3. Screen Shot 2016-05-19 at 10.53.25 AM.png
          Screen Shot 2016-05-19 at 10.53.25 AM.png
          141 kB
        4. Test Code.zip
          5 kB

          Issue Links

            Activity

              People

              • Assignee:
                msamah Ashraf Abu (Inactive)
                Reporter:
                aislam Aminul Islam
                Reviewer:
                Hieu Pham
              • Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code