- Home /
Unity5.4.0p4 compile error for android by il2cpp
hello everyone.
I upgrade my project from Unity5.3.6f1 to Unity5.4.0f3 for building Android by il2cpp.
But I get the error :(
So I try to change use Unity5.4.0p4 to build.... it was error again, and I don't know the error log mean...
Have anybody can tell my what the error log mean ?
Thanks a lot.
error log: link text
Answer by ZroeX · Sep 07, 2016 at 03:48 AM
ok guys, I find what i miss in my code.
I see the answer : http://answers.unity3d.com/questions/1236453/android-il2cpp-compile-error-for-unity-540f3.html
And I Check my Code... I find some where I add more define in my code like this....
#define SA_DEBUG_MODE
//....blablabla....
#if (UNITY_IPHONE && !UNITY_EDITOR) || SA_DEBUG_MODE
[DllImport ("__Internal")]
private static extern void _MNP_ShowRateUsPopUp(string title, string message, string rate, string remind, string declined);
the define SA_DEBUG_MODE make me have have error when i build Android by il2cpp...Orz
I take it out and anything be Done!! :)
Thanks Unity Answer.
Your answer
Follow this Question
Related Questions
how can i save my AndroidManifest correctly? ** (HELP!) 0 Answers
Unity 5.5 il2cpp android doesn't compile -1 Answers
Why does my pause & quit menus appear when I load next level? 0 Answers
iOS IL2CPP Networking Issues Unity 5.0.x 3 Answers
I am not able to get the currentActivity,and i am getting the following error 0 Answers