Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" tc.tools.deployer.DeployerException: Something went wrong when parsing AndroidManifest.xml. Expected size is 18204, but got 18174 #341

Closed
nosadaniel opened this issue May 19, 2021 · 9 comments
Labels
bug Something isn't working

Comments

@nosadaniel
Copy link

Describe the bug

A clear and concise description of what the bug is and the actual behavior.

Devices:

Please complete the following information:

  • System OS (name and version): [macOS 11.2.3]
  • TotalCross Version: [e.g. 7.0.1]
  • TotalCross backend: [JDK 11.0]
  • Architecture: [e.g. ARM64]
  • Device description: [e.g. Android]

To Reproduce

Main:
[exec] WARNING: An illegal reflective access operation has occurred
[exec] WARNING: Illegal reflective access by net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations to field java.lang.invoke.InnerClassLambdaMetafactory.counter
[exec] WARNING: Please consider reporting this to the maintainers of net.orfjackal.retrolambda.lambdas.BackportLambdaInvocations
[exec] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[exec] WARNING: All illegal access operations will be denied in a future release
[exec] Retrolambda 2.5.7

@nosadaniel nosadaniel added the bug Something isn't working label May 19, 2021
@brunoamuniz
Copy link

Hey @nosadaniel we use a library called retrolambda to support lambda functions on java. thanks for reporting, we will check if there were any changes with compatibility.

In this meantime, did your application work even with this warning message?

cheers,

@nosadaniel
Copy link
Author

nosadaniel commented May 19, 2021 via email

@brunoamuniz
Copy link

this is weird! as this is a warning message it shouldn't stop or break your compilation process.
Do you have the full log?

@nosadaniel
Copy link
Author

nosadaniel commented May 19, 2021 via email

@nosadaniel
Copy link
Author

nosadaniel commented May 19, 2021 via email

@brunoamuniz
Copy link

ok, this is another error, not related to retrolambda.

Please check your MainWindow class, it should has a line with:

Settings.applicationId= "GTB";

just add one more char to the string "GTB". It should be 4 chars like "AGTB" or "GTBK"

Sorry about that, it's an old id that we use and we need to fix it.

Try and let me know

Cheers,

@nosadaniel
Copy link
Author

WhatsApp Image 2021-05-19 at 10 10 53 PM

I was enable to build.... but got this error while running the app on my phone

@brunoamuniz
Copy link

hey @nosadaniel pls open a new issue, this is another problem.

I will also change the subject of this one, just to be easier for other users to find, ok?! =)

@brunoamuniz brunoamuniz changed the title Got this warning while try to compile and this error happened: Failed to execute goal com.totalcross:totalcross-maven-plugin:2.0.3:package Exception in thread "main" tc.tools.deployer.DeployerException: Something went wrong when parsing AndroidManifest.xml. Expected size is 18204, but got 18174 May 19, 2021
@nosadaniel
Copy link
Author

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants