-
Notifications
You must be signed in to change notification settings - Fork 930
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
There is no "message" element for key extName. #111
Comments
This is an easy fix. $vim /path_to_com_dir/manifest.json $vim /path_to_com_dir/_locale/language/message.json Don't forget the comma. |
Hello wxvst2! I am trying to make the vmware horizon view apk work on a chromebook and and currently stuck with this same error. Can you be a little more descriptive. I tried to follow your instructions but i'm not sure what the final code should look like. here is what i have so far. please note "MSG_extName" was copied from com dir/manifest.json. { When i try to load unpacked extensions in chrome with this i get syntax error. Before the copy paste i got the error there is no "message" element for key extName. any help is greatly appreciated. I'm sure it's simple but i'm not a programmer by any means! Thanks in advance! |
Hey dhufford81 , I formatted my first answer wrong and it left out some details. So take a look again and it may be a little more clear. Remember you need to edit the message.json file to fix the issue. Not the manifest.json file. "enableExternalDirectory": false, "extName": { |
Thanks very much for the information. I have corrected the issue, and now the extension gives me the option to launch. However there is a pink warning that says: There were warnings when trying to install this extension: Unrecognized manifest key 'arc_metadata'. When i hit the launch link it opens a white window with a picture of Android in it and nothing else happens. Does that mean the horizon.apk won't run on a chromebook? Thanks again! |
You can ignore that warning. It will show for all packages. I just tried the app myself. It seems to crash on start up. You can check by selecting Inspect views: app_main.html under launch. The log should show you something like this: Please try another app that has been proven to work to make sure your setup is correct. NYC Bus & Subway Maps app works. |
Just wanted to report back, i played around with it for most of the day today and ended up getting it to work. I was able to launch a virtual desktop on my chromebook. The only problem now is getting it to go fullscreen =) Thanks very much for your help wxvst2!! |
I got this message when tried to load an extension: 'import' extension is not installed. |
I received this message when I fired the conversion with command: chromeos-apk application.apk The error was gone when I fired the conversion with all arguments: chromeos-apk --tablet --scale --name ApplicationName application.apk The problem for me was the locales messages.json: _locales/en/messages.json { |
same error +1 |
I have the same issue.... I added the "message" key (used from the "name" key in manifest.json), but when i run the app, it start the emulator, have a blackscreen for 0.5 sec, then the program just ends... I tried this on 2 different apps, with same results.... |
If you are able to launch the app, even partially, that means the modification to the message.json has worked. However, some apps just don't work with their given architecture. Some users over at Reddit are keeping a list of working, non-working, and partially working apps. If you would like to add your own testing to the spreadsheet fill out this form: |
I get the same message on everything I even try to load as an extension in Chrome. My specs are:
|
I confirm, pass name parameter fix the issue for me. chromeos-apk --tablet --scale --name ApplicationName application.apk |
@postadelmaga It didn't fix it for me. What are you using for the application name? Is it the actual fully qualified package name (or whatever they call it on Android)? What I am trying to ask is whether the application name can be anything you choose, or if it has to be the thing like |
thank you @postadelmaga |
@postadelmaga: You are right! yeah |
chromeos-apk -t -s -n Directv DIRECTV_4.0.5_1428466127059.apk� App launches fine on a chromebox trying to watch something (as tablet) crashes the app Any insight? |
@noahseis This obviously isn't the thread for your issue. Did you even read any of what is on this page? |
The apk (Directv DIRECTV_4.0.5_1428466127059.apk) compiles with the Node.js 0.12.2 (ia32) and npm tool. That's what being discussed here, correct, compiling apk's to provide portability to the chrome browser / OS "pc like" hardware instead vs android device app use only. I was checking to see if there's some troubleshooting tips when an app is compiled through the tool but crashes on the chromebook / chromebox - how do you adjust for bugs. Or do you? |
I've found the fix for this! :-D In
instead of
and
instead of
That's it. 8-) |
"program.name" is a already a function (or should i say that "name" is a method of the "program" object?), so it can't be used as a variable. ("program.name()" gives you back "chromeos-apk" in this case, for the sake of completeness.) So using "commander" if you set the long option name to "--ext-name" it give you the property "extName" of the object "program". (That is not taken.) (If i am right with the OOP lingo.)
@dardo82 cool thanks, will update |
Then this shouldn't be closed now? |
Please help me, I don't even understand.. It shows this: Failed to load extension from: ~/Downloads/Game/com.ea.games.simsfreeplay_row_twerk { what should I do? Thanks in advance |
Did you install the archon runtime, first? |
Not yet before. But actually after download the Evernote now I can launch the app. Thanks! :) |
Hello Everybody, |
Thank you very much man, this solve my problem. So, can you put in chromeos a app icon option? |
Same error here |
Note: the path should be |
2020 and i still have to patch the manifest.json files .... here is an automatic patch, using #!/bin/bash
n=jp.co.canon.bsd.ad.pixmaprint
f=$n.android/manifest.json
cat "$f"|jq '.name = $v' --arg v "$n"|sponge "$f"
f=$n.android/_locales/en/messages.json
cat "$f"|jq '.extName.message = $v' --arg v "$n"|sponge "$f" |
Hi, anyone can help me because I don't know what is wrong here:
EDIT. I forgot comma "," :D |
I try npm update -g chromeos-apk
After update --version still show 3.0.0
I try chromeos-apk mygame.apk
I get error when load unpack ext ---->
Failed to load extension from: D:......
There is no "message" element for key extName.
The text was updated successfully, but these errors were encountered: