Bug 14258 - Compiling JarBinding project faild in xamarin.android.4.8.x
Summary: Compiling JarBinding project faild in xamarin.android.4.8.x
Status: RESOLVED NORESPONSE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: High major
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2013-08-27 01:52 UTC by rocky
Modified: 2016-08-03 15:24 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
the uncompiling jar binding project source code. (771.71 KB, application/octet-stream)
2013-08-27 01:53 UTC, rocky
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description rocky 2013-08-27 01:52:13 UTC
my develop enviorment:
windows7 x64
JDK 1.6 6u45_i586
android sdk (last version)
visual studio 2010 sp1 with xamarin.android 4.8.1 stable release.
xamarin studio 4.1.9

when i upgrade the xamarin.android from 4.6.x to 4.8.1,
my old project normalized in xamarin.android 4.6.x can not compilealbe in 4.8.1.
the jar binding project has many warning makes the compile faild.

but the same project was normally in mac osx with last version of xamarin.android for osx.

any one could help me?
and i post the project files as attachment.

the jar binding warnings such as:

警告	1	failed to parse assembly {0}: {1}. For details, see verbose output	C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll warning BG8200	BindingLibrary2
警告	2	failed to parse assembly {0}: {1}. For details, see verbose output	C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v2.2\Mono.Android.dll warning BG8200	BindingLibrary2
警告	3	failed to parse assembly {0}: {1}. For details, see verbose output	C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll warning BG8200	BindingLibrary2
警告	4	failed to parse assembly {0}: {1}. For details, see verbose output	C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Core.dll warning BG8200	BindingLibrary2
警告	5	failed to parse assembly {0}: {1}. For details, see verbose output	C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.dll warning BG8200	BindingLibrary2
警告	6	failed to parse assembly {0}: {1}. For details, see verbose output	C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Xml.dll warning BG8200	BindingLibrary2
警告	7	Class CN.Thinkit.Libtmfe.Test.JNI has unknown base type java.lang.Object	C:\Users\Administrator\Desktop\Binding_Error\BindingLibrary2\BINDINGSGENERATOR	BindingLibrary2
警告	8	Class Com.Baidu.Mapapi.BMapManager has unknown base type java.lang.Object	C:\Users\Administrator\Desktop\Binding_Error\BindingLibrary2\BINDINGSGENERATOR	BindingLibrary2
警告	9	Class Com.Baidu.Mapapi.VersionInfo has unknown base type java.lang.Object	C:\Users\Administrator\Desktop\Binding_Error\BindingLibrary2\BINDINGSGENERATOR	BindingLibrary2
警告	10	Class Com.Baidu.Mapapi.Cloud.Bounds has unknown base type java.lang.Object	C:\Users\Administrator\Desktop\Binding_Error\BindingLibrary2\BINDINGSGENERATOR	BindingLibrary2
警告	11	Class Com.Baidu.Mapapi.Cloud.BoundsSearchInfo has unknown base type java.lang.Object	C:\Users\Administrator\Desktop\Binding_Error\BindingLibrary2\BINDINGSGENERATOR	BindingLibrary2
警告	12	Class Com.Baidu.Mapapi.Cloud.CustomPoiInfo has unknown base type java.lang.Object	C:\Users\Administrator\Desktop\Binding_Error\BindingLibrary2\BINDINGSGENERATOR	BindingLibrary2
警告	13	Class Com.Baidu.Mapapi.Cloud.DetailResult has unknown base type java.lang.Object	C:\Users\Administrator\Desktop\Binding_Error\BindingLibrary2\BINDINGSGENERATOR	BindingLibrary2
警告	14	Class Com.Baidu.Mapapi.Cloud.DetailSearchInfo has unknown base type java.lang.Object	C:\Users\Administrator\Desktop\Binding_Error\BindingLibrary2\BINDINGSGENERATOR	BindingLibrary2
Comment 1 rocky 2013-08-27 01:53:39 UTC
Created attachment 4720 [details]
the uncompiling jar binding project source code.
Comment 3 Peter Collins 2013-10-24 17:02:00 UTC
I was able to compile the attached project in VS2012. There were 40 compiler warnings along the lines of what you have linked above, however the project built successfully with generated .dll.

Rocky, are you saying that you did not have any warnings when building against 4.6.x? I'm not sure if the issue was new compiler warnings after updating, or the if the attached code failed to compile after updating.
Comment 4 Atsushi Eno 2013-10-29 08:31:06 UTC
It does build, resulting only in 40 warnings which are not bugs.