Closed kkoci closed 8 years ago
Hi this is maven project not gradle. You can make a pull request if you have success with gradle compilation.
Oh... Ok, I'll write back ASAP with some news then, thank you
Can you copy maven compilation error log here
I have use maven-android-sdk-deployer to include dependency in local maven repository. Look in Readmi development.
Ok, going to check it and write you back, thank you
On Tue, Feb 17, 2015 at 8:17 PM, Stanimir notifications@github.com wrote:
I have use maven-android-sdk-deployer to include dependency in local maven repository. Look in Readmi development.
— Reply to this email directly or view it on GitHub https://github.com/sytolk/TaxiAndroidOpen/issues/6#issuecomment-74788710 .
Kristian Koci Linux User #582221 Website: http://tuespacioweb.com.ve Cel. 0416 202 92 94
http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80
The error basically says it can't build the project because of mapforge being an apk, I changed some things into build.gradle (now it is an android project, not eclipse adt plugin) but still have errors, going to try again and copy back.
On Tue, Feb 17, 2015 at 8:48 PM, Kristian Koci kristian.koci@gmail.com wrote:
Ok, going to check it and write you back, thank you
On Tue, Feb 17, 2015 at 8:17 PM, Stanimir notifications@github.com wrote:
I have use maven-android-sdk-deployer to include dependency in local maven repository. Look in Readmi development.
— Reply to this email directly or view it on GitHub https://github.com/sytolk/TaxiAndroidOpen/issues/6#issuecomment-74788710 .
Kristian Koci Linux User #582221 Website: http://tuespacioweb.com.ve Cel. 0416 202 92 94
http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80
Kristian Koci Linux User #582221 Website: http://tuespacioweb.com.ve Cel. 0416 202 92 94
http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80 http://twitfooter.com/twitter/view/kkoci80
This is the traceback, also, when running into an emulator, which device or devices should I use? Any advice?
Traceback:
Information:Gradle tasks [:taxiAndroidOpenmaster:assembleDebug] :taxiAndroidOpenmaster:preBuild :taxiAndroidOpenmaster:compileDebugNdk :comtaxibulgariamap_mapsforge_044201406271417533:compileLint :comtaxibulgariamap_mapsforge_044201406271417533:copyReleaseLint UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:mergeReleaseProguardFiles UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:preBuild :comtaxibulgariamap_mapsforge_044201406271417533:preReleaseBuild :comtaxibulgariamap_mapsforge_044201406271417533:checkReleaseManifest :comtaxibulgariamap_mapsforge_044201406271417533:prepareReleaseDependencies :comtaxibulgariamap_mapsforge_044201406271417533:compileReleaseAidl UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:compileReleaseRenderscript UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:generateReleaseBuildConfig UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:generateReleaseAssets UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:mergeReleaseAssets UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:generateReleaseResValues UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:generateReleaseResources UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:packageReleaseResources UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:processReleaseManifest UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:processReleaseResources UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:generateReleaseSources UP-TO-DATE :comtaxibulgariamap_mapsforge_044201406271417533:compileReleaseJava D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\filefilter\ValidFileFilter.java Error:(17, 39) error: package org.mapsforge.map.reader.header does not exist Error:(28, 2) error: cannot find symbol class FileOpenResult D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\mapbg\BasicMapViewer.java Error:(38, 32) error: package org.mapsforge.core.model does not exist Error:(39, 32) error: package org.mapsforge.core.model does not exist Error:(40, 38) error: package org.mapsforge.map.android.util does not exist Error:(41, 38) error: package org.mapsforge.map.android.view does not exist Error:(42, 31) error: package org.mapsforge.map.layer does not exist Error:(43, 31) error: package org.mapsforge.map.layer does not exist Error:(44, 37) error: package org.mapsforge.map.layer.cache does not exist Error:(45, 40) error: package org.mapsforge.map.layer.renderer does not exist Error:(46, 31) error: package org.mapsforge.map.model does not exist Error:(47, 31) error: package org.mapsforge.map.model does not exist Error:(48, 38) error: package org.mapsforge.map.model.common does not exist Error:(49, 32) error: package org.mapsforge.map.reader does not exist Error:(50, 39) error: package org.mapsforge.map.reader.header does not exist Error:(51, 39) error: package org.mapsforge.map.reader.header does not exist Error:(52, 37) error: package org.mapsforge.map.rendertheme does not exist Error:(53, 37) error: package org.mapsforge.map.rendertheme does not exist Error:(65, 25) error: cannot find symbol class LayerManager Error:(66, 25) error: cannot find symbol class MapViewPosition Error:(67, 25) error: cannot find symbol class MapView Error:(68, 15) error: cannot find symbol class PreferencesFacade Error:(71, 15) error: cannot find symbol class TileCache Error:(205, 15) error: cannot find symbol class MapPosition Error:(270, 15) error: cannot find symbol class MapView Error:(286, 15) error: cannot find symbol class XmlRenderTheme Error:(307, 50) error: cannot find symbol class MapViewPosition Error:(307, 15) error: cannot find symbol class MapViewPosition D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\mapbg\BasicMapViewerXml.java Error:(17, 38) error: package org.mapsforge.map.android.view does not exist Error:(32, 12) error: cannot find symbol class MapView D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\mapbg\LocationOverlayMapViewer.java Error:(25, 35) error: package org.mapsforge.core.graphics does not exist Error:(26, 42) error: package org.mapsforge.map.android.graphics does not exist Error:(27, 39) error: package org.mapsforge.map.android.layer does not exist Error:(30, 13) error: cannot find symbol class MyLocationOverlay D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\mapbg\MarkerOverlay.java Error:(18, 35) error: package org.mapsforge.core.graphics does not exist Error:(19, 32) error: package org.mapsforge.core.model does not exist Error:(20, 32) error: package org.mapsforge.core.model does not exist Error:(21, 31) error: package org.mapsforge.map.layer does not exist Error:(27, 36) error: cannot find symbol class Layer Error:(29, 24) error: cannot find symbol class Layer Error:(36, 35) error: cannot find symbol class BoundingBox Error:(36, 76) error: cannot find symbol class Canvas Error:(36, 91) error: cannot find symbol class Point Error:(57, 17) error: cannot find symbol class Layer D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\mapbg\Settings.java Error:(29, 31) error: package org.mapsforge.map.model does not exist D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\mapbg\TextCircle.java Error:(3, 35) error: package org.mapsforge.core.graphics does not exist Error:(4, 35) error: package org.mapsforge.core.graphics does not exist Error:(5, 32) error: package org.mapsforge.core.model does not exist Error:(6, 32) error: package org.mapsforge.core.model does not exist Error:(7, 32) error: package org.mapsforge.core.model does not exist Error:(8, 32) error: package org.mapsforge.core.model does not exist Error:(9, 31) error: package org.mapsforge.core.util does not exist Error:(10, 39) error: package org.mapsforge.map.layer.overlay does not exist Error:(12, 33) error: cannot find symbol class Circle Error:(15, 13) error: cannot find symbol class Paint Error:(26, 23) error: cannot find symbol class LatLong Error:(26, 66) error: cannot find symbol class Paint Error:(26, 83) error: cannot find symbol class Paint Error:(26, 100) error: cannot find symbol class Paint Error:(33, 35) error: cannot find symbol class BoundingBox Error:(33, 76) error: cannot find symbol class Canvas Error:(33, 91) error: cannot find symbol class Point D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\mapbg\Utils.java Error:(26, 35) error: package org.mapsforge.core.graphics does not exist Error:(27, 35) error: package org.mapsforge.core.graphics does not exist Error:(28, 35) error: package org.mapsforge.core.graphics does not exist Error:(29, 32) error: package org.mapsforge.core.model does not exist Error:(30, 32) error: package org.mapsforge.core.model does not exist Error:(31, 42) error: package org.mapsforge.map.android.graphics does not exist Error:(32, 37) error: package org.mapsforge.map.layer.cache does not exist Error:(33, 39) error: package org.mapsforge.map.layer.overlay does not exist Error:(34, 40) error: package org.mapsforge.map.layer.renderer does not exist Error:(35, 31) error: package org.mapsforge.map.model does not exist Error:(36, 37) error: package org.mapsforge.map.rendertheme does not exist Error:(77, 4) error: cannot find symbol class LatLong Error:(76, 9) error: cannot find symbol class Marker Error:(83, 62) error: cannot find symbol class Style Error:(83, 16) error: cannot find symbol class Paint Error:(92, 4) error: cannot find symbol class LatLong Error:(91, 9) error: cannot find symbol class Marker Error:(122, 51) error: cannot find symbol class TileCache Error:(123, 4) error: cannot find symbol class MapViewPosition Error:(124, 4) error: cannot find symbol class XmlRenderTheme Error:(122, 9) error: cannot find symbol class TileRendererLayer Error:(133, 16) error: cannot find symbol class Bitmap D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\filefilter\ValidMapFile.java Error:(17, 32) error: package org.mapsforge.map.reader does not exist Error:(18, 39) error: package org.mapsforge.map.reader.header does not exist Error:(26, 10) error: cannot find symbol class FileOpenResult Error:(37, 9) error: cannot find symbol class FileOpenResult Error:(30, 3) error: cannot find symbol class MapDatabase Error:(30, 33) error: cannot find symbol class MapDatabase D:\android-sdk-windows\AndroidStudioProjects\TaxiAndroidOpen-master2\comtaxibulgariamap_mapsforge_044201406271417533\src\main\java\org\mapsforge\applications\android\mapbg\AndroidPreferencesAPI8.java Error:(19, 38) error: package org.mapsforge.map.model.common does not exist Error:(21, 48) error: cannot find symbol class PreferencesFacade Error:(29, 5) error: method does not override or implement a method from a supertype Error:(35, 5) error: method does not override or implement a method from a supertype Error:(40, 5) error: method does not override or implement a method from a supertype Error:(49, 5) error: method does not override or implement a method from a supertype Error:(55, 5) error: method does not override or implement a method from a supertype Error:(60, 5) error: method does not override or implement a method from a supertype Error:(65, 5) error: method does not override or implement a method from a supertype Error:(70, 5) error: method does not override or implement a method from a supertype Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Error:Execution failed for task ':comtaxibulgariamap_mapsforge_044201406271417533:compileReleaseJava'.
Compilation failed; see the compiler error output for details. Information:BUILD FAILED Information:Total time: 10.213 secs Information:101 errors Information:0 warnings Information:See complete output in console
Its have missing dependecy
error: package org.mapsforge.map.reader.header does not exist
Android Studio use gradle as build system. The apklib format is incompatible with this system and breaks the builds. But I have just commit TaxiAndroidOpen to version 1.0.28 its have mapsforge with new render Theme 4 and no more apklib - mapsforge is included as aar. I have not tested to build it with gradle. Actually I have use Intellij Idea to compile project but you can compille it from the command line with maven too.
/usr/lib/jvm/java-8-oracle/bin/java -Dmaven.home=/opt/apache-maven-3.2.1 -Dclassworlds.conf=/opt/apache-maven-3.2.1/bin/m2.conf -Didea.launcher.port=7536 -Didea.launcher.bin.path=/opt/idea-IU-139.659.2/bin -Dfile.encoding=UTF-8 -classpath /opt/apache-maven-3.2.1/boot/plexus-classworlds-2.5.1.jar:/opt/idea-IU-139.659.2/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=14.0.3 install
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building taxi-android-open 1.0.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- android-maven-plugin:3.8.2:generate-sources (default-generate-sources) @ taxi-android-open ---
[DEBUG] Expanding: /home/stanimir/.m2/repository/com/google/android/gms/play-services-location/6.5.87/play-services-location-6.5.87.aar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-location_aar_6.5.87
[DEBUG] expand complete
[DEBUG] Expanding: /home/stanimir/.m2/repository/com/google/android/gms/play-services-base/6.5.87/play-services-base-6.5.87.aar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-base_aar_6.5.87
[DEBUG] expand complete
[DEBUG] Expanding: /home/stanimir/.m2/repository/com/android/support/support-v4/21.0.0/support-v4-21.0.0.aar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.android.support_support-v4_aar_21.0.0
[DEBUG] expand complete
[DEBUG] Expanding: /home/stanimir/.m2/repository/com/taxi-bulgaria/map/mapsforge/0.5.0-SNAPSHOT/mapsforge-0.5.0-SNAPSHOT.aar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.taxi-bulgaria.map_mapsforge_aar_0.5.0-SNAPSHOT
[DEBUG] expand complete
[DEBUG] Expanding: /home/stanimir/.m2/repository/pl/charmas/android/android-reactive-location/0.4/android-reactive-location-0.4.aar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/pl.charmas.android_android-reactive-location_aar_0.4
[DEBUG] expand complete
[DEBUG] Expanding: /home/stanimir/.m2/repository/fr/avianey/facebook-android-api/3.18.0/facebook-android-api-3.18.0.aar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0
[DEBUG] expand complete
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] Manifest merging disabled. Using project manifest only
[INFO] /home/stanimir/android-sdk-linux/build-tools/21.1.2/aapt [package, -f, --no-crunch, -I, /home/stanimir/android-sdk-linux/platforms/android-17/android.jar, -M, /home/stanimir/Stil-Projects/TaxiAndroidOpen/AndroidManifest.xml, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-location_aar_6.5.87/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-base_aar_6.5.87/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.android.support_support-v4_aar_21.0.0/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.taxi-bulgaria.map_mapsforge_aar_0.5.0-SNAPSHOT/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/pl.charmas.android_android-reactive-location_aar_0.4/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0/res, -A, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/generated-sources/combined-assets/assets, -m, -J, /home/stanimir/Stil-Projects/TaxiAndroidOpen/gen, --output-text-symbols, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target, --auto-add-overlay]
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ taxi-android-open ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/stanimir/Stil-Projects/TaxiAndroidOpen/src/main/resources
[INFO] skip non existing resourceDirectory /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/generated-sources/extracted-dependencies/src/main/resources
[INFO] skip non existing resourceDirectory /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-location_aar_6.5.87/src
[INFO] skip non existing resourceDirectory /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-base_aar_6.5.87/src
[INFO] skip non existing resourceDirectory /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.android.support_support-v4_aar_21.0.0/src
[INFO] skip non existing resourceDirectory /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.taxi-bulgaria.map_mapsforge_aar_0.5.0-SNAPSHOT/src
[INFO] skip non existing resourceDirectory /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/pl.charmas.android_android-reactive-location_aar_0.4/src
[INFO] skip non existing resourceDirectory /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0/src
[INFO]
[INFO] --- android-maven-plugin:3.8.2:consume-aar (default-consume-aar) @ taxi-android-open ---
[INFO] Extracting classes for all aar dependencies
[INFO] Extract aar classes for com.google.android.gms:play-services-location:aar:6.5.87:compile
[DEBUG] Expanding: /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-location_aar_6.5.87/classes.jar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/classes
[DEBUG] expand complete
[INFO] Extracted /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-location_aar_6.5.87/classes.jar
[INFO] Extract aar classes for com.google.android.gms:play-services-base:aar:6.5.87:compile
[DEBUG] Expanding: /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-base_aar_6.5.87/classes.jar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/classes
[DEBUG] expand complete
[INFO] Extracted /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-base_aar_6.5.87/classes.jar
[INFO] Extract aar classes for com.android.support:support-v4:aar:21.0.0:compile
[DEBUG] Expanding: /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.android.support_support-v4_aar_21.0.0/classes.jar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/classes
[DEBUG] expand complete
[INFO] Extracted /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.android.support_support-v4_aar_21.0.0/classes.jar
[INFO] Extract aar classes for com.taxi-bulgaria.map:mapsforge:aar:0.5.0-SNAPSHOT:compile
[DEBUG] Expanding: /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.taxi-bulgaria.map_mapsforge_aar_0.5.0-SNAPSHOT/classes.jar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/classes
[DEBUG] expand complete
[INFO] Extracted /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.taxi-bulgaria.map_mapsforge_aar_0.5.0-SNAPSHOT/classes.jar
[INFO] Extract aar classes for pl.charmas.android:android-reactive-location:aar:0.4:compile
[DEBUG] Expanding: /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/pl.charmas.android_android-reactive-location_aar_0.4/classes.jar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/classes
[DEBUG] expand complete
[INFO] Extracted /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/pl.charmas.android_android-reactive-location_aar_0.4/classes.jar
[INFO] Extract aar classes for fr.avianey:facebook-android-api:aar:3.18.0:compile
[DEBUG] Expanding: /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0/classes.jar into /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/classes
[DEBUG] expand complete
[INFO] Extracted /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0/classes.jar
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ taxi-android-open ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 44 source files to /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/classes
[WARNING] /home/stanimir/Stil-Projects/TaxiAndroidOpen/src/com/opentaxi/android/BubbleOverlay.java: Some input files use or override a deprecated API.
[WARNING] /home/stanimir/Stil-Projects/TaxiAndroidOpen/src/com/opentaxi/android/BubbleOverlay.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- android-maven-plugin:3.8.2:proguard (default-proguard) @ taxi-android-open ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ taxi-android-open ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/stanimir/Stil-Projects/TaxiAndroidOpen/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ taxi-android-open ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.14:test (default-test) @ taxi-android-open ---
[INFO] No tests to run.
[INFO]
[INFO] --- android-maven-plugin:3.8.2:emma (default-emma) @ taxi-android-open ---
[INFO]
[INFO] --- android-maven-plugin:3.8.2:dex (default-dex) @ taxi-android-open ---
[INFO] /usr/lib/jvm/java-8-oracle/jre/bin/java [-Xmx1024M, -jar, /home/stanimir/android-sdk-linux/build-tools/21.1.2/lib/dx.jar, --dex, --output=/home/stanimir/Stil-Projects/TaxiAndroidOpen/target/classes.dex, /home/stanimir/.m2/repository/com/google/android/gms/play-services-location/6.5.87/play-services-location-6.5.87.aar, /home/stanimir/.m2/repository/com/caverock/androidsvg/1.2.2-beta-1/androidsvg-1.2.2-beta-1.jar, /home/stanimir/.m2/repository/org/mapsforge/mapsforge-core/0.5.0/mapsforge-core-0.5.0.jar, /home/stanimir/.m2/repository/com/taxi-bulgaria/map/mapsforge/0.5.0-SNAPSHOT/mapsforge-0.5.0-SNAPSHOT.aar, /home/stanimir/.m2/repository/com/mobsandgeeks/android-saripaar/1.0.7-SNAPSHOT/android-saripaar-1.0.7-SNAPSHOT.jar, /home/stanimir/.m2/repository/com/android/support/support-v4/21.0.0/support-v4-21.0.0.aar, /home/stanimir/.m2/repository/fr/avianey/facebook-android-api/3.18.0/facebook-android-api-3.18.0.aar, /home/stanimir/.m2/repository/org/mapsforge/mapsforge-map-reader/0.5.0/mapsforge-map-reader-0.5.0.jar, /home/stanimir/.m2/repository/com/taxi-bulgaria/rest/open-rest-client/1.0.4.BUILD-SNAPSHOT/open-rest-client-1.0.4.BUILD-SNAPSHOT.jar, /home/stanimir/.m2/repository/org/json/json/20080701/json-20080701.jar, /home/stanimir/.m2/repository/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar, /home/stanimir/.m2/repository/com/jakewharton/disklrucache/2.0.2/disklrucache-2.0.2.jar, /home/stanimir/.m2/repository/com/taxi-bulgaria/common/common/1.0.1-SNAPSHOT/common-1.0.1-SNAPSHOT.jar, /home/stanimir/.m2/repository/com/google/android/gms/play-services-base/6.5.87/play-services-base-6.5.87.aar, /home/stanimir/.m2/repository/org/mapsforge/mapsforge-map/0.5.0/mapsforge-map-0.5.0.jar, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/classes, /home/stanimir/.m2/repository/com/github/sromku/android-simple-facebook/2.1-SNAPSHOT/android-simple-facebook-2.1-SNAPSHOT.jar, /home/stanimir/.m2/repository/ch/acra/acra/4.5.0/acra-4.5.0.jar, /home/stanimir/.m2/repository/org/mapsforge/mapsforge-map-android/0.5.0/mapsforge-map-android-0.5.0.jar, /home/stanimir/.m2/repository/org/springframework/android/spring-android-rest-template/1.0.2.BUILD-SNAPSHOT/spring-android-rest-template-1.0.2.BUILD-SNAPSHOT.jar, /home/stanimir/.m2/repository/pl/charmas/android/android-reactive-location/0.4/android-reactive-location-0.4.aar, /home/stanimir/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar, /home/stanimir/.m2/repository/com/google/guava/guava/11.0.2/guava-11.0.2.jar, /home/stanimir/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar, /home/stanimir/.m2/repository/com/parse/bolts/bolts-android/1.1.2/bolts-android-1.1.2.jar, /home/stanimir/.m2/repository/com/taxi-bulgaria/rest/open-rest-client-a/1.0.4.BUILD-SNAPSHOT/open-rest-client-a-1.0.4.BUILD-SNAPSHOT.jar, /home/stanimir/.m2/repository/net/java/truelicense/truelicense-obfuscate/2.4-SNAPSHOT/truelicense-obfuscate-2.4-SNAPSHOT.jar, /home/stanimir/.m2/repository/io/reactivex/rxjava/1.0.3/rxjava-1.0.3.jar, /home/stanimir/.m2/repository/org/springframework/android/spring-android-core/1.0.2.BUILD-SNAPSHOT/spring-android-core-1.0.2.BUILD-SNAPSHOT.jar, /home/stanimir/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar, /home/stanimir/.m2/repository/com/android/support/support-annotations/21.0.0/support-annotations-21.0.0.jar, /home/stanimir/.m2/repository/org/androidannotations/androidannotations-api/3.2/androidannotations-api-3.2.jar]
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ taxi-android-open ---
[INFO] Building jar: /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/taxi-android-open.jar
[INFO]
[INFO] --- android-maven-plugin:3.8.2:apk (default-apk) @ taxi-android-open ---
[INFO] Enabling debug build for apk.
[INFO] /home/stanimir/android-sdk-linux/build-tools/21.1.2/aapt [package, -f, -M, /home/stanimir/Stil-Projects/TaxiAndroidOpen/AndroidManifest.xml, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-location_aar_6.5.87/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.google.android.gms_play-services-base_aar_6.5.87/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.android.support_support-v4_aar_21.0.0/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.taxi-bulgaria.map_mapsforge_aar_0.5.0-SNAPSHOT/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/pl.charmas.android_android-reactive-location_aar_0.4/res, -S, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0/res, --auto-add-overlay, -A, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/generated-sources/combined-assets/assets, -I, /home/stanimir/android-sdk-linux/platforms/android-17/android.jar, -F, /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/taxi-android-open.ap_, --debug-mode]
[INFO] /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0/res/drawable-ldpi/com_facebook_close.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
[INFO] /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0/res/drawable/com_facebook_close.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
[INFO] /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0/res/drawable-hdpi/com_facebook_close.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
[INFO] /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/fr.avianey_facebook-android-api_aar_3.18.0/res/drawable-xhdpi/com_facebook_close.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
[INFO] /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/unpacked-libs/com.taxi-bulgaria.map_mapsforge_aar_0.5.0-SNAPSHOT/res/drawable-mdpi/ic_menu_mylocation.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
[INFO]
[INFO] --- android-maven-plugin:3.8.2:internal-pre-integration-test (default-internal-pre-integration-test) @ taxi-android-open ---
[INFO] No InstrumentationRunner found - skipping tests
[INFO]
[INFO] --- android-maven-plugin:3.8.2:internal-integration-test (default-internal-integration-test) @ taxi-android-open ---
[INFO] No InstrumentationRunner found - skipping tests
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ taxi-android-open ---
[INFO] Installing /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/taxi-android-open.apk to /home/stanimir/.m2/repository/com/opentaxi/android/taxi-android-open/1.0.0.BUILD-SNAPSHOT/taxi-android-open-1.0.0.BUILD-SNAPSHOT.apk
[INFO] Installing /home/stanimir/Stil-Projects/TaxiAndroidOpen/pom.xml to /home/stanimir/.m2/repository/com/opentaxi/android/taxi-android-open/1.0.0.BUILD-SNAPSHOT/taxi-android-open-1.0.0.BUILD-SNAPSHOT.pom
[INFO] Installing /home/stanimir/Stil-Projects/TaxiAndroidOpen/target/taxi-android-open.jar to /home/stanimir/.m2/repository/com/opentaxi/android/taxi-android-open/1.0.0.BUILD-SNAPSHOT/taxi-android-open-1.0.0.BUILD-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.492 s
[INFO] Finished at: 2015-02-18T15:55:18+02:00
[INFO] Final Memory: 27M/298M
[INFO] ------------------------------------------------------------------------
Process finished with exit code 0
hi, this is an awesome project but it seems like there are some missing source file like com.opentaxi.models, com.opentaxi.rest?
@angyy10 these packages are provided by the taxi companies SDK that is included in project like a jar file: https://oss.sonatype.org/content/repositories/snapshots/com/taxi-bulgaria/rest/open-rest-client/1.0.4.BUILD-SNAPSHOT/ at the moment SDK for connection to the RESTFul services are not open source.
hi @sytolk, thanks for your explanation :+1:
Hi, excellent effort...., but couldn't build. RestClient is not available, even after using above JAR library(open-rest-client)!!
If you use maven to build this project can you paste here maven build log. Maven will automatically include needed dependency in your project but if you prefer manual to include dependency.. RestClient is in this jar library: https://oss.sonatype.org/content/repositories/snapshots/com/taxi-bulgaria/rest/open-rest-client-a/1.0.4.BUILD-SNAPSHOT/
it extends RestClientBase from this JAR: https://oss.sonatype.org/content/repositories/snapshots/com/taxi-bulgaria/rest/open-rest-client/1.0.4.BUILD-SNAPSHOT/
Thanks, I was trying to build using Android Strudio Gradle, but I faced a lot of issues I will build again using Maven. Thanks again.
Hi, I used maven 3.1.1 now , but I got error:
mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building taxi-android-open 1.0.0.BUILD-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for net.java.truelicense:truelicense-obfuscate:jar:2.4-SNAPSHOT is missing, no dependency information available [WARNING] The POM for android:android:jar:5.0_r1 is missing, no dependency information available [WARNING] The POM for com.mobsandgeeks:android-saripaar:jar:1.0.7-SNAPSHOT is missing, no dependency information available [WARNING] The POM for com.github.sromku:android-simple-facebook:jar:2.1-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.950s [INFO] Finished at: Mon Apr 27 19:26:32 GMT+03:00 2015 [INFO] Final Memory: 10M/245M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project taxi-android-open: Could not resolve dependencies for project com.opentaxi.android:taxi-android-open:apk:1.0 .0.BUILD-SNAPSHOT: The following artifacts could not be resolved: net.java.truelicense:truelicense-obfuscate:jar:2.4-SNAPSHOT, android:android:jar:5.0 _r1, com.mobsandgeeks:android-saripaar:jar:1.0.7-SNAPSHOT, com.github.sromku:android-simple-facebook:jar:2.1-SNAPSHOT: Failure to find net.java.trueli cense:truelicense-obfuscate:jar:2.4-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of snapshots-repository has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Simple-Facebook is Gradle project. there is no "pom" file!!!
Yes, I have use maven build from this pull request: https://github.com/sromku/android-simple-facebook/pull/10
android-saripaar 1.0.7-SNAPSHOT- it is my build with fix for this: https://github.com/ragunathjawahar/android-saripaar/issues/19 You can try to update to latest version 2 in your pom.xml it appears like bug is fixed.
android:android:jar:5.0_r1 -you can change it with latest Android imported from your SDK with maven-android-sdk-deployer
For the truelicense-obfuscate its have dependency to old build snapshot 2.4-SNAPSHOT. Maybe now its have copy of this version only in my local maven repository :) you can override it in pom.xml and use the latest stable version: http://mvnrepository.com/artifact/net.java.truelicense/truelicense-obfuscate/2.4.1
I have upload full project dependency map here: https://github.com/sytolk/TaxiAndroidOpen#user-content-development
@mjhram feels free to make pull request with gradle build :+1:
The "TextRule" is missing from saripaar V2.0. back to 1.0.3
I have open new issue for saripaar you can write problems here https://github.com/sytolk/TaxiAndroidOpen/issues/7 but I don`t have time to test it now :)
Hey hello!,
I was wondering if there is the DRIVER side app/source code available for this project?
Yes Driver app is available but source is not published in github License is different but maybe in the feature.. https://play.google.com/store/apps/details?id=com.taxibulgaria.android
Hey in the app the language is different when I copy thus code to inellij then run this does it paper in the same language or in English if it doesn't come in English please tell me how to edit it
Can u please tell me how this app works
The language depend of the Android phone settings. Currently 100% application is translated to English and Bulgarian. Look at the README.md file how it works
How to edit the phone number of the drive In this app the the phone numbers haven already been sent how to make changes I want to build app like uber In that app it shows the geographical location of the cab online around u in current location how to build like that plese send me the source code for it my email is vigneshyaadav27@gmail.com How to make the price appear on users phone Is there a drive app for this if then please send me the source code Of not can u help me to build this app Please mail me about this
Hello, I think this is an awesome example for the ones who are looking to develop a similar app in their current city.
BTW, I'm receving plenty of errors when trying to build it, I've used maven, and edited android studio generated gradle files, but with no success.
Is there a tutorial to run and build this application on android studio 1.x?
Thanks in advance!