-
Notifications
You must be signed in to change notification settings - Fork 525
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
Link assemblies works, but compression doesn't #3399
Comments
I think that you should post this question on xamarin forums. It is your project specific error. In general compression works fine. If you believe that it doesnt you should attach log information you receive. Also please try to attach projects in zip format directly instead of providing gdrive url |
No one has complained before from the Xamarin Team about the GDrive URLs, also, I didn't know I can drop files here. Second, the Forum is very vague and hardly ever I get any answer to my problems since I have raised many. Also, this is an issue. How am I going to know the error if the app only crashes when I do what I said and run it? It just crashes, if I deactivate the compression it works. |
in the forum there are xamarin certified developers and xamarin employees they check topics regularly (i do myself also) but if you post like you posted here, nobody will reply you.
|
Well, let's start by something, I'm not new here and I know about reporting bugs as getting support if you could answer my Xamarin.Android questions in the forum, it would be awesome since I've been waiting for someone who could give me some light, I asked the same questions in StackOverflow too, but if you could support me, you would do me a great favor. I have reported the questions and they are even accepted by Microsoft as a bugs, let's consider this one: Therefore, I know how to differentiate between a Bug and a possible mistake from my side. Now, the second point, the project is huge and yes it's 150MB and it's not connected to NuGets, Bins or Objs. There are no bins and objs folders if you see it carefully, I know very well that I need to delete them frequently since they cause several issues. Next, I know what is proguard since I have enabled it and disabled it many times and this is the first time that the compiler is crashing, how do I know it that's a bug? Because I have built 3 editions of this project with VS2015, VS2017 and VS2019 and only in the latest iteration with VS2019, I have had multiple bugs that I have reported in VS support, Xamarin Forums and here. |
because in your previous bug report, you have more details and valid point that something was working. no i didnt look detailed into your sample project because many of us will ignore 150mb of project. thats why Xamarin team always says minimal repro! |
I added the rest of details including a new project, but it still crashes in the configuration that I said. |
@FANMixco I think you'll need to add a custom proguard config file to your app to ensure certain types required at start up are present in the main dex file. For more information, please see these docs: These proguard config files should still be used when r8 is enabled. |
It crashes. |
The first screenshot looks like a build error, not a runtime crash? It's hard to tell what's going wrong just from these few screen shots. I don't think the |
The last of the preserve can be ignored, however, the error yes, it's not runtime, but the Java heap looks irrelevant and if remove the proguard file then it creates the APK, but it doesn't work. |
@FANMixco I think this problem may have been fixed by: #6957 Previously, we weren't getting If you use the latest Xamarin.Android, does this problem still occur? Thanks! |
Hi @FANMixco. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Hi @jonathanpeppers, considering that it has been 3 years since it was opened. I'm going to close it. |
Steps to Reproduce
Expected Behavior
To run.
Actual Behavior
Crashes.
I get this error:
Configuration:
If you choose no compression then it works properly.
Version Information
Log File
The text was updated successfully, but these errors were encountered: