Hi,
I just migrate from 8.0.121.0 to 8.0.160.0 and it’s a mess.
1. the provided sample “Gettingsartedsample” crashes at launch
2. my application does not compile on that line: Pcl.Current = new AndroidEditionPclShareEnviroment();
if I remove it, it crashes at launch.
Any help is welcome.
Patrick.
Moving from 8.0.121.0 => 8.0.160.0 .... breaking changes?
Hi Patrick,
Thanks for reporting.
1. We are working on the Xamarin autobuild, and found some problem on the build version. If you get the package version 8.0.160.0, it is actually a version few days ago before the public release. We will fix this build issue today and please try the latest build today (8.0.178.0).
2. The new build don’t need to manually set the Pcl.Current. We will specify it automatically.
BTW, because some API changes, please get the latest "Gettingsartedsample" and try latest dlls.
Regards,
Don
Don,
8.0.160.0 is the only version that Thinkgeo Product Center allows me to download.
Please tell me how to get it.
Best regards,
PAtrick.
Hi Patrick,
Sorry I just know we won’t update this edition in our system this week.
So you can directly download it here, the two links will expired one week later.
1. Eval 8.0.178.0
ap.thinkgeo.com:5001/fbsharing/HHVIZG5n
2. Full 8.0.178.0
ap.thinkgeo.com:5001/fbsharing/aNQlgJfI
Regards,
Don
8.0.178.0 is not working for me.
I’ve updated MS to 8.0.178.0, xamarin to the current version and also updated android sdk (api 15)
GettingStartedSample crashes at startup on both my device (galaxy s3) and on the API 15 emulator
My application which was working with 8.0.121.0 is crashing when the map is displayed.
On the other end, I do not find the howdoISamples for 8.0.178.0 and the one from 8.0.121.0 crash at run
We have a demo tomorrow, please advise.
Patrick.
12-09 13:26:58.170 D/Mono (13112): Assembly Ref addref GettingStartedSample[0x580d6298] -> mscorlib[0x41ae3a40]: 4
12-09 13:26:58.180 D/Mono (13112): DllImport searching in: ‘__Internal’ (’(null)’).
12-09 13:26:58.180 D/Mono (13112): Searching for ‘_monodroid_gref_log_new’.
12-09 13:26:58.180 D/Mono (13112): Probing ‘_monodroid_gref_log_new’.
12-09 13:26:58.180 D/Mono (13112): Found as ‘_monodroid_gref_log_new’.
12-09 13:26:58.310 D/Mono (13112): DllImport searching in: ‘__Internal’ (’(null)’).
12-09 13:26:58.310 D/Mono (13112): Searching for ‘_monodroid_gref_log_delete’.
12-09 13:26:58.310 D/Mono (13112): Probing ‘_monodroid_gref_log_delete’.
12-09 13:26:58.310 D/Mono (13112): Found as ‘_monodroid_gref_log_delete’.
12-09 13:26:58.395 D/dalvikvm(13112): GC_FOR_ALLOC freed 79K, 12% free 9503K/10740K, paused 15ms, total 15ms
12-09 13:26:58.395 I/dalvikvm-heap(13112): Grow heap (frag case) to 22.406MB for 12582928-byte allocation
12-09 13:26:58.505 D/dalvikvm(13112): GC_FOR_ALLOC freed <1K, 6% free 21791K/23032K, paused 108ms, total 108ms
12-09 13:26:58.520 D/dalvikvm(13112): GC_CONCURRENT freed <1K, 6% free 21790K/23032K, paused 3ms+2ms, total 16ms
12-09 13:26:58.520 D/dalvikvm(13112): WAIT_FOR_CONCURRENT_GC blocked 9ms
12-09 13:26:58.520 I/dalvikvm-heap(13112): Forcing collection of SoftReferences for 50331664-byte allocation
12-09 13:26:58.545 D/dalvikvm(13112): GC_BEFORE_OOM freed 9K, 6% free 21780K/23032K, paused 25ms, total 25ms
12-09 13:26:58.545 E/dalvikvm-heap(13112): Out of memory on a 50331664-byte allocation.
12-09 13:26:58.545 I/dalvikvm(13112): “main” prio=5 tid=1 RUNNABLE
12-09 13:26:58.545 I/dalvikvm(13112): | group=“main” sCount=0 dsCount=0 obj=0x41e27578 self=0x41c506a8
12-09 13:26:58.545 I/dalvikvm(13112): | sysTid=13112 nice=-16 sched=0/0 cgrp=apps handle=1074733052
12-09 13:26:58.545 I/dalvikvm(13112): | state=R schedstat=( 899496592 359131369 3838 ) utm=67 stm=22 core=3
12-09 13:26:58.545 I/dalvikvm(13112): at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
12-09 13:26:58.550 I/dalvikvm(13112): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:596)
12-09 13:26:58.550 I/dalvikvm(13112): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
12-09 13:26:58.550 I/dalvikvm(13112): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:832)
12-09 13:26:58.550 I/dalvikvm(13112): at android.content.res.Resources.loadDrawable(Resources.java:2988)
12-09 13:26:58.550 I/dalvikvm(13112): at android.content.res.Resources.getDrawable(Resources.java:1558)
12-09 13:26:58.550 I/dalvikvm(13112): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3573)
12-09 13:26:58.550 I/dalvikvm(13112): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3616)
12-09 13:26:58.550 I/dalvikvm(13112): at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1906)
12-09 13:26:58.550 I/dalvikvm(13112): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2974)
12-09 13:26:58.550 I/dalvikvm(13112): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2354)
12-09 13:26:58.555 I/dalvikvm(13112): at android.app.ActivityThread.access$700(ActivityThread.java:159)
12-09 13:26:58.555 I/dalvikvm(13112): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
12-09 13:26:58.555 I/dalvikvm(13112): at android.os.Handler.dispatchMessage(Handler.java:99)
12-09 13:26:58.555 I/dalvikvm(13112): at android.os.Looper.loop(Looper.java:176)
12-09 13:26:58.555 I/dalvikvm(13112): at android.app.ActivityThread.main(ActivityThread.java:5419)
12-09 13:26:58.555 I/dalvikvm(13112): at java.lang.reflect.Method.invokeNative(Native Method)
12-09 13:26:58.555 I/dalvikvm(13112): at java.lang.reflect.Method.invoke(Method.java:525)
12-09 13:26:58.555 I/dalvikvm(13112): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
12-09 13:26:58.555 I/dalvikvm(13112): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
12-09 13:26:58.555 I/dalvikvm(13112): at dalvik.system.NativeStart.main(Native Method)
Hi Patrick,
We tested the latest build and found a bug in our latest development branch. We have fix it and our support will send you a new build later today. We tested with following device and all work fine.
Samsung GT-N5110 (4.1.2)
Samsung Galaxy Not (4.3)
Samsung SM-320 (4.4.2)
Galaxy Nexus (4.3)
API 15 Simulator (4.0.3)
By the way, we have some breaking changes between the beta (8.0.121.0) and the public release (8.0.160.0). So it might not compile for the first time. Please feel free to let me know if there is any trouble to make it compile.
Thanks,
Howard
Great,
in the meanwhile, 8.0.121.0 came with a very nice sample HowDoISample.sln; showing projections, osm, googlemap …
do you have an updated version somewhere ?
Patrick.
Patrick,
I got your TiffAndroid sample package. It crashes at launch. It guides us to a rarely happened bug. Thanks for reporting.
The TiffAndroid project has a SingleTile LayerOverlay without any layers. So it won’t be initialized. But at this point, we are trying to recycle a non-initialized tile and the exception throws. I think the OOM issue is not recreated on our end. Here is a screenshot of the fixed build. It is far below the Dalvik VM memory usage.
The GettingStarted Sample also works fine on our end. Here is a video of running on the simulator SDK 15.
ap.thinkgeo.com:5001/fbsharing/yaU3GwY3
Our support will send you the related dlls and the sample packages you requested.
Thanks,
Howard
Hi,
I got 8.0.184.0 from the sales team and it works perfectly on my end.
Thank you
Patrick.
Hi Patrick,
Sweet! Please feel free to let us know if you have more queries.
Thanks,
Howard
i tried evaluation version (8.0.322.0 28.4.2015) with Xamarin 5.9(build 413).App crashes at the beginning.
Also In HelloWorld application it produces same error ?
In this case i can not use evaluation.
Do you have any idea ?
Best Regards
Hi Kerem,
We need more information to provide you suggestion.
1. What’s the detail product? Android Edition or Xamarin Forms edition?
2. What’s your development environment?
3. Please upload your HelloWorld for help debug.
Regards,
Don
Hi,
I am using Android Edition with Xamarin Studio.
Error Message:
Unable to start activity ComponentInfo{HelloWorld.HelloWorld/md5af9cfb01fe55d25ddc872b85e90521dc.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class md524486e1c05198762d1e90c160eb24106.MapView
My Code is here
Best Regards
HelloWorld_Android.7z (1.06 MB)
Hi Kerem,
Thanks for evaluating
our Android Edition. We checked your project, and this could be fix it by
setting the linker properties. See my screenshot for detail. Your linking is
set to “None” while it works fine with “Sdk Assemblies Only”.
By the way, please open
a new thread for a new questions; so that we can well organize our forum and
the other users can find solutions easily.
Thanks,
Howard