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

Can't not import 'lunar-console.aar' file. #63

Closed
sr4dev opened this issue May 2, 2017 · 16 comments
Closed

Can't not import 'lunar-console.aar' file. #63

sr4dev opened this issue May 2, 2017 · 16 comments

Comments

@sr4dev
Copy link

sr4dev commented May 2, 2017

Can't enable Android plugin: unable to create importer for 'Assets/LunarConsole/Editor/Android/lunar-console.aar'. Re-install Lunar Mobile Console to fix the issue.
UnityEngine.Debug:LogErrorFormat(String, Object[])
LunarConsoleEditorInternal.AndroidPlugin:SetEnabled(Boolean) (at Assets/LunarConsole/Editor/AndroidPlugin.cs:48)
LunarConsoleEditorInternal.Autorun:.cctor() (at Assets/LunarConsole/Editor/Autorun.cs:53)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()

I can't import Lunar Mobile Console PRO v1.4.0 even in new empty project(Unity 5.6.0f3).
I tried removing asset cache and retry download, but it didn't work.
(Cache path C:\Users[USERNAME]\AppData\Roaming\Unity\Asset Store-5.x\SpaceMadness)

@weeeBox
Copy link
Member

weeeBox commented May 2, 2017

Hi @Seromu,

Sorry for the issue. I'm not able to reproduce it right now. Let me check a few more things and I'll get back to you.

@weeeBox
Copy link
Member

weeeBox commented May 2, 2017

I was able to reproduce the issue on a windows machine. Sorry about the inconvenience. Investigating...

@weeeBox
Copy link
Member

weeeBox commented May 2, 2017

@Seromu, I haven't fully tested it yet but it seems to be a path issue. Please, look at this pull request and let me know if it works for you

@weeeBox
Copy link
Member

weeeBox commented May 3, 2017

Patch file: lunar-console-patch-1.4.1.unitypackage

@sr4dev
Copy link
Author

sr4dev commented May 3, 2017 via email

@weeeBox
Copy link
Member

weeeBox commented May 4, 2017

@Seromu, v1.4.1 is now live on the Asset Store

@sr4dev
Copy link
Author

sr4dev commented May 8, 2017

Thanks a lot! I'll adapt it on Asset Store(now you can remove patch file) XD

@Snow-Okami
Copy link

I am having this same issue with the Pro version from the asset store: 1.51 - Unity 5.6.4. Any suggestions?

@weeeBox
Copy link
Member

weeeBox commented Oct 26, 2017

@Snow-Okami, usually deleting/re-importing the plugin fixes the issue.

@Snow-Okami
Copy link

I have tried this multiple times but it seems I always get the error. (Windows 10, with Android SDK, NDK and JRE installed) I installed the patch posted earlier up over my 1.51 installation and now I get a second error in Autorun.cs in the LegacyAsset function. Seems to still work on my android device though. I commented out the line that runs that function.

@weeeBox
Copy link
Member

weeeBox commented Oct 29, 2017

@Snow-Okami, sorry for the issue. I'll take a closer look.

@nicloay
Copy link

nicloay commented Aug 13, 2019

Have the same problem with pro version on unity 2018.3.3f1 tried to reinstall several times with no luck. I have several version of unity installed on my mac, and 2018 is located at not default folder (/Applications/Unity2018/...)

But anyway even after this error the project build well and on android I can see the console

@weeeBox
Copy link
Member

weeeBox commented Aug 13, 2019

@nicloay, the importer throws an exception but still able to properly import the aar file. I have no idea how to fix it but the console seems to be working fine!

@Nathanovic
Copy link

I also have this issue, tried deleting the LunarConsole folder and re-importing. Didn't work. Any way to fix this error?

@weeeBox
Copy link
Member

weeeBox commented Mar 24, 2020

@Nathanovic, does the plugin work on Android?

@Nathanovic
Copy link

@weeeBox Excuse me. Re-importing actually did work, but I had to restart Unity first!
The plugin works fine on Android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants