Looking at the diff, the left one is compiled in debug mode, the right one in release. (which should account for the size difference and missing .di file).
Have you not seen the projects? Both are compiled in debug mode.
In both panels is displayed the .di file, why do you say that is not the .di file.?
So the differences in size of the files I’ve indicated are very significant.
the manifest inside obj/ should always be updated (have the updated version info) from within the project file.
If you look at both projects that have sent you, the manifests are identical.
so I do rebuild of both projects (rebuild, not build!):
I do rebuild, not build.
Solution\SendaObjects.BaseLib.Test\SendaObjects.BaseLib.Android.Test
and
SendaObjects.BaseLib.Test\SendaObjects.BaseLib.Android.Test
Both deploy and run fine to the emulator (which iirc you use now too right?)
they’re both equal in side: 233kb for the apk 302 for the jar.
As I mentioned, in my VS emulator the problem also occurs.
I have done more research and conclusions you can see in the video attached. The culprit is the sugar.jar file of the latest version of Elements.
The steps to reproduce the problem on my computer are:
(These are the steps that I do in the attached video)
- I create a new application.
- I do build. The application runs correctly on my Nexus 7.
- I do rebuild and run. The application runs correctly on my Nexus 7.
- I add a reference to sugar.jar and run. The application runs correctly on my Nexus 7.
- I do rebuild and run. The application runs and displays the error.
That is, the error only occurs after adding sugar.jar and to rebuild.
Bug257-5.part1.rar (5 MB)
Bug257-5.part2.rar (4.8 MB)
Note (update): We have performed the steps I indicated in another of our computers and the problem is perfectly reproduced, so obviously it is not a problem of my computer. It may be that you may have a different sugar.jar. You must do the tests with an installation of the latest version of Elements last week.
Note (update2): We have further investigated and have downloaded from github the master and develop versions. We have compiled both. If we reference in the project the version Develop the problem is reproduced. However, if the project reference the master version then the error is not shown and everything works properly. So it seems that in the latest version of Elements you are included the sugar.jar file based on the Develop version.