Git Product home page Git Product logo

chromeos-apk's Introduction

chromeos-apk

Run Android APKs on Chrome OS, OS X, Linux and Windows.

Now supports OS X, Linux and Windows

See the Custom ARChon runtime guide to run apps on other operating systems besides Chrome OS.

Quick Demo for Chrome OS

  • Download an official app, such as Evernote, from the Chrome Web Store.
  • Then download this open source game: 2048.APK Game by Uberspot and load it as an unpacked extension. Go to chrome://apps and launch it there, ignore warnings.

Setup for Chrome OS / App Conversion

Conversion Tool Tested on OS X, Windows and Ubuntu. You can also convert APKs manually.

npm install chromeos-apk -g

or

sudo npm install chromeos-apk -g

Usage

Run chromeos-apk [path to apk file]

Example phone app

chromeos-apk com.soundcloud.android.apk

Example tablet app

chromeos-apk com.soundcloud.android.apk --tablet

This will generate a directory for you, i.e com.soundcloud.android. Copy this directory to your Chromebook. On your Chromebook go to chrome://extensions, enable "Developer mode", and load the directory using the "Load unpacked extension" button.

Troubleshooting

Make sure Android applications are compatible with your Chromebook, first try to install an official application such as Vine: https://chrome.google.com/webstore/detail/vine/plfjlfohfjjpmmifkbcmalnmcebkklkh

If you get a Failed to parse package name in the APK. error, then you will have to type it the proper package name for the application. You can find out the package name by looking at the URL of the app in the Play Store.

Note

Chrome OS: With Chrome 38+ you can now side load as many applications as you want. If you have older apps that were created using chromeos-apk tool then re-convert them or remove the "key" option from manifest.json.

Windows, Linux and OS X: To load unlimited number of apps on you need a custom runtime, see the ARChon runtime guide for details.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Tested Apps

Read the manifest guide to tweak applications. Android Menu key is accessible using ctrl + ESC.

  • Flipboard, Flixster, Twitter - Works.
  • Pandora - Works [Screenshot]
  • Yahoo Screens, Weather and Mail work in Phone mode (might need to remove gcm from usePlayServices in manifest.json).
  • Soundcloud - Works, crashes when playing sound.
  • Chrome, Firefox, Opera, Spotify - Crashes (require native libraries).
  • Opera Mini - Works, issues with the back button.
  • Gyro Game - Works
  • Break Bricks Game - Works
  • Swing Copters - Crashes on Google Play Services.
  • WhatsApp - Crashes
  • IMDB - Works
  • Skype com.skype.raider - Works, requires you to enter the package name manually in the CLI, use com.skype.raider. Use an older version of APK 5.0.0.x to get this to work.
  • XBMC - Crash after initial load.
  • Microsoft Remote Desktop - App seems to work properly after crashing once.

Author

twitter/vladikoff
@vladikoff

chromeos-apk's People

Contributors

amazedsaint avatar artroman avatar biversen21 avatar dardo82 avatar guldoman avatar plasmapower avatar seoh avatar vladikoff avatar was-d avatar whitingx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chromeos-apk's Issues

Touch input not working on Windows

Touch screen input not working on Surface Pro.
Mouse input seems to work fine.
Multiple users reported problems with this device.

Using Chrome 37 64bit, but the problem is irrelevant to the version.

32 bit support

I haven't had the time to take a deep look at the ARChon project yet, but I noticed that the current build does not include 32 bit libraries.

So why does this matter? While one might think this is a non-factor in the modern world of 64 bit CPUs, it's worth mentioning that millions of tablets and convertible laptops sold within the last year based on Intel's Bay Trail architecture were shipped with 32 bit Windows 8(.1), and a 32 bit UEFI.

Windows Script host - Code 800A138F

Hi,
Congratulations for your work.
When I'm trying to do in Windows:
chromeos-apk
It shows me a windows of Window Script Host: Line:1 Character:1 Error: Waits an object. Code: 800A138F.
Could you help me please?
Thanks

{Edit} It now works on 32 bit operating systems, too :)

Update: Yes, It works


Old comment:

There's some issues here around i686 machines, but they are tumult.
Please make this subject matter more vivid!

Is it suporting 32 operating systems? (Linux, Mac, Windows)
Any roadmap, milestone...?!

Example APK not working with ARChon V1.0 on Chrome Stable 37.0.2062.120 m (64-bit) on Windows 8.1 64 bits OS

I test it on my 64 bits Windows 8.1 with Chrome Stable 37.0.2062.120 m (64-bit) using the example 2048 APK, it just shows up as an Android logo and nothing happens.

Below is the console message I got:

ARC onInstalled HTML5 FS init: 631.000ms main.js:370
ChildPlugin jsInstaller:0:dexopt(so_executable) Run: 2005.000ms main.js:370
timeout to spawn ChildPlugin process: dexopt(so_executable), dexopt --preopt /vendor/chromium/crx/com.uberspot.a2048.android.apk $auto v=r,o=v,m=y,u=n main.js:370
retry to spawn with timeout 4sec. main.js:370
ChildPlugin jsInstaller:0:dexopt(so_executable) Run: 1286.000ms main.js:370
Dexopt plugin terminated main.js:370
ARC Window Popup: 66.000ms main.js:370
the child process has been loaded: so_executable/umareporter main.js:370
ChildPlugin backgroundpage:0:umareporter(so_executable) Run: 340.000ms main.js:370
0x7318EB09 is not a valid instance ID. main.js:370
Received a crash main.js:370
prod: ARC main.js:370
arc_app_name: com.uberspot.a2048 main.js:370
ptime: 60937 main.js:370
crash_time: Sun Sep 21 2014 19:54:48 GMT+0800 main.js:370
ver: 38.4410.120.25 main.js:370
arc_build_tag: arc-runtime-38.4410.120.25 main.js:370
message: heartbeat ping timeout main.js:370
chrome_version: 37.0.2062.120 main.js:370
app_id: kdjbiekcidfncdnaocdfbeflnpomjabn main.js:370
app_version: 1337 main.js:370
width: 360 main.js:370
height: 672 main.js:370
is_minimized: false main.js:370
is_maximized: false main.js:370
is_fullscreen: false main.js:370
Attempting to report crash... main.js:370
FINISHED REPORTING CRASH

Originally I think the line "0x7318EB09 is not a valid instance ID" is the main error in this case, but since @Flytomars- points out this is normal, so I don't know what is the problem...

Application won't load (Android Logo)

All APK's (including the demo 2048) all fail to load, and simply stay at a window that displays the Android logo. Running Chrome 39.0.2159.4 dev-m (64-bit) on Windows 8.1

image

File system initialization 1/3
File system initialization 2/3
0.615s + 0.004s = 0.619s (+0M virt, +0M res): App instance started
File system initialization 3/3
0.615s + 0.080s = 0.695s (+0M virt, +0M res): Started emugl renderer thread
0.615s + 0.081s = 0.696s (+0M virt, +0M res): Starting System
0.615s + 0.106s = 0.721s (+0M virt, +0M res): Android runtime initialized
0.615s + 0.121s = 0.736s (+0M virt, +0M res): Started SurfaceFlinger
the child process has been loaded: so_executable/umareporter
0xE4BC85DD is not a valid instance ID.
0xE4BC85DD is not a valid instance ID.

External Networking to access the Local Area Network

Just bringing this up in hopes that someone with more knowledge on chrome apps can assist. When attempting to package networking tools such as Fing or WiFi Analyzer you are able to see that the apps are isolated from the LAN; Wi-Fi analyzer, for example, displays 127.0.0.1 I messed with permissions in manifest.json but was unsuccessful in getting these apps to communicate with other devices on the LAN. Maybe this is something that needs to be tweaked in ARChron or it may be beyond the scope of this project. But given the list of attempted apps that do not work I think if this was sorted out we would have even more successes.

Please show a tutorial video for installing this addon

For some reason I fail to do it.
Chromium version 39.0.2152.0 .
It keeps writing:

"Failed to load extension from: D:\desktop\chromeos-apk-master
Cannot load extension with file or directory name template. Filenames starting with "" are reserved for use by the system.
Could not load manifest."

I cannot load apps using ARChon on my Samsung Series 3 Chromebook

When using the original runtime, I can use the Skype that was tweaked for that runtime.

But I have not been able to get any app to run when I use ARChon, even though I am trying to use apps that others have successfully used on ARChon. I have been loading ARChon as an unpacked extension. I have tried both the regular ARM version of ARChon and the 32-bit-ARM version. I have succeeded with neither.

I'd appreciate any help I can get. Thanks.

Unable to load unpacked extension

Chrome: Version 38.0.2125.66 beta (64-bit)
OS: Ubuntu 14.04

I followed the instructions in the read me and I get the following warnings when loading the unpacked extension:

There were warnings when trying to install this extension:

  • 'minimum_chrome_version' is only allowed for extensions, hosted apps, legacy packaged apps, and packaged apps, but this is a shared module.
  • Unrecognized manifest key 'arc_build_tag'.

It is in my extensions list, however, there is no "Launch" option

Fix Google Services by sideloading the Google Services apk (working)

I tested this on a dell chromebook 11 Version 37.0.2062.120 (64-bit) STABLE

I was able to get some apps to work that require google services by sideloading the google services apk found at "/system/priv-app/GmsCore.apk". I repackaged the apk with the "Chrome APK Packager" found on Google Play. If I launch the Google Services app then proceed to launch an app that requires services it runs. For example tTorrent Pro and a handful of other apps wouldn't run until I installed Google Services.

I sideloaded the GmsCore.apk from my Moto X running a nightly 4.4.4 CyanogenMod Rom

screenshot 2014-09-27 at 12 54 51 am
screenshot 2014-09-27 at 12 56 20 am

Most apps seem to work except for mine. How do I make it compatible?

Hello,

I've been experimenting with a couple .APKs including flipboard and 2048 and they work fine.
Now when I try launching my own Android app, I'm only seeing the Bugdroid logo. I'm not sure where to find logs, but here's what chrome outputs in the terminal:

Start running
Starting: Intent { cmp=be.geecko.QuickLyric/.MainActivity }
[270,2826889472:02:20:58.479949] Native Client module will be loaded at base address 0x00003b1800000000
E/libcommon: nacl_list_mappings failed with errno:38
[290,2826889472:02:21:01.835079] Native Client module will be loaded at base address 0x00001def00000000
E/libcommon: nacl_list_mappings failed with errno:38
Start running
Starting: Intent { cmp=be.geecko.QuickLyric/.MainActivity }

I'm running Arch Linux x64 with Google Chrome Beta 38.
QuickLyric does not make use of the NDK or Google Play Services.

I was curious to know what steps I could follow to make my app compatible with archon or if I'm doing something wrong. Thank you!

apk search

awesome work!
if possible, support apk searching and install in command line 😄

proxy support

App runing don't seem to support proxy config from chrome.

Limelight Nvidia Gamestream not connecting to target PC

UPDATE: This might be a Limelight thing, seeing as it now is not working on my Droid RAZR Maxx, though it was before.

Besides getting Skype to work, after discovering that someone reverse engineered Gamestream to work with almost anything, streaming games to the Chromebook is a must have. However, it seems that the app cannot connect to the target PC. The app works fine otherwise. My guess is that Limelight uses some resources that are not available to the native Chrome OS runtime.

Whatssapp

Hi, do you know if the whatsapp works?

don't works touch controls

I'm not able to use touch feature in apk files. I can with mouse and keyboard but I would like to use touch controls.
Thanks

Installation via a packaged CRX does not work properly

Hi, I packaged the ARChron runtime and it seems it does not work when packaged. I do not like having a full ~/Downloads folder on my Chromebook, so I just tried installing the CRX to avoid having to sideload and have a persistent folder dedicated to the runtime. This method, however, does not work, and results in Android-based applications not loading at all. Is there a way to work around this? Thanks.

Edit: It works beautifully when sideloaded, so it does work normally.

chrome://version important info:

Google Chrome 39.0.2151.4 (Official Build 8dbf30c96a94e01e94f0b0619447c5613ef6b9c6) dev Platform 6253.0.0 (Official Build) dev-channel daisy

Full screen support.

Hi, Is there any chance you could guys add the form factor to gen_main.min.js and gen_index.min.js as full screen and direct it to some config file with max resolution and some keymap to exit app ? This would be very handy feature.

The SD card support

Dear all:
APPs in ARChon can't visit the SD card in my chromebook, and the volume of ARChon(about 2G) is too low to put some media files in it.
I have changed the “enableExternalDirectory" of manifest.json into true,but none apps can be loaded succcefully with it.
SO, I hope someone can help me to solve this problem.
Thank you!

freeze in these image

Hi,
I'm trying to load the example application (uberspot 2048) and it freezes in the screen with android logo.
I have architecture 32bits in my windows. These could be the problem?
Thanks and sorry for my english!

After Flag adjustment problem

Hello, so everything was working perfectly on Windows 8.1, x64, Chrome beta. I restarted the computer and when it came to I adjusted a few flags in chrome and since then the apps open and close almost immediately (I can only see the app logo for a sec or two at most). Umm, are there any flags that can mess this up? How and where can i submit a log to troubleshoot this?
I tried emptying temp, removing and loading ARChon, no app works and there is no error showing in below the app details except the usual: Unrecognized manifest key 'arc_metadata'.

Got the error "timeout to spawn ChildPlugin process"

Hi,

I am trying to launch Fdroid.apk in chrome 37, got an empty android window with just the green robot:

zoobab@sabayon /home/zoobab [132]$ chromium-browser --enable-logging=stderr
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[27756:27756:0921/182048:WARNING:password_store_factory.cc(213)] Using basic (unencrypted) store for password storage. See http://code.google.com/p/chromium/wiki/LinuxPasswordStorage for more information about password storage options.
[27756:27756:0921/182048:ERROR:desktop_window_tree_host_x11.cc(1478)] Not implemented reached in void views::DesktopWindowTreeHostX11::MapWindow(ui::WindowShowState)
[27756:27756:0921/182048:INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://www.google.be/_/chrome/newtab/manifest?espv=2&ie=UTF-8", source: https://www.google.be/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[27756:27756:0921/182048:INFO:CONSOLE(0)] "Application Cache Checking event", source: https://www.google.be/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[27756:27756:0921/182048:INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://www.google.be/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[27756:27780:0921/182054:WARNING:raw_channel_posix.cc(214)] recvmsg: Connection reset by peer
[27756:27756:0921/182059:INFO:CONSOLE(552)] "File system initialization 1/3", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js (552)
[27756:27756:0921/182059:INFO:CONSOLE(552)] "File system initialization 2/3", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js (552)
[27756:27780:0921/182104:WARNING:raw_channel_posix.cc(214)] recvmsg: Connection reset by peer
[27756:27756:0921/182121:INFO:CONSOLE(196)] "timeout to spawn ChildPlugin process: umareporter(so_executable), umareporter bool ArcRuntime.DexoptInterrupted false bool ArcRuntime.DexoptInterrupted false", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (196)
[27756:27756:0921/182121:INFO:CONSOLE(166)] "retry to spawn with timeout 4sec.", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (166)
[27756:27756:0921/182125:INFO:CONSOLE(196)] "timeout to spawn ChildPlugin process: umareporter(so_executable), umareporter bool ArcRuntime.DexoptInterrupted false bool ArcRuntime.DexoptInterrupted false", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (196)
[27756:27756:0921/182125:INFO:CONSOLE(166)] "retry to spawn with timeout 8sec.", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (166)
[27756:27756:0921/182133:INFO:CONSOLE(196)] "timeout to spawn ChildPlugin process: umareporter(so_executable), umareporter bool ArcRuntime.DexoptInterrupted false bool ArcRuntime.DexoptInterrupted false", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (196)
[27756:27756:0921/182133:INFO:CONSOLE(166)] "retry to spawn with timeout 16sec.", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (166)
[27756:27756:0921/182149:INFO:CONSOLE(196)] "timeout to spawn ChildPlugin process: umareporter(so_executable), umareporter bool ArcRuntime.DexoptInterrupted false bool ArcRuntime.DexoptInterrupted false", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (196)
[27756:27756:0921/182149:INFO:CONSOLE(166)] "retry to spawn with timeout 32sec.", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (166)
[27756:27756:0921/182152:INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://www.google.be/_/chrome/newtab/manifest?espv=2&ie=UTF-8", source: https://www.google.be/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[27756:27756:0921/182152:INFO:CONSOLE(0)] "Application Cache Checking event", source: https://www.google.be/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[27756:27756:0921/182152:INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://www.google.be/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[27756:27780:0921/182153:WARNING:raw_channel_posix.cc(214)] recvmsg: Connection reset by peer
[27756:27756:0921/182205:INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://www.google.be/_/chrome/newtab/manifest?espv=2&ie=UTF-8", source: https://www.google.be/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[27756:27756:0921/182205:INFO:CONSOLE(0)] "Application Cache Checking event", source: https://www.google.be/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[27756:27756:0921/182205:INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://www.google.be/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[27756:27780:0921/182207:WARNING:raw_channel_posix.cc(214)] recvmsg: Connection reset by peer
[27756:27756:0921/182221:INFO:CONSOLE(196)] "timeout to spawn ChildPlugin process: umareporter(so_executable), umareporter bool ArcRuntime.DexoptInterrupted false bool ArcRuntime.DexoptInterrupted false", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (196)
[27756:27756:0921/182221:INFO:CONSOLE(165)] "give up to spawn ChildPlugin process.", source: chrome-extension://bbnaemddlgmmnnelknkkbdmcnafkdcpn/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_main.min.js (165)

"Make sure you are connected to internet" error in app

Hey, i'm french and when i try to open an application (Ligue 1 by Orange), it open the app but it open a popup who said "Make sure you are connected to internet" and the app close if I push "OK" (because the app close if we aren't connected to internet ^^)
Can you help me ?

WPS Office

I've tried to install WPS Office but keep getting the parse error message. I've tried all the solutions but it doesn't work.

this is the package name:

cn.wps.moffice_eng-2.apk

Enter as Send for Skype

This has nothing to do with the actual chromeos-apk application, but I suppose a lot of people are using this to finally get Skype on their Chromebooks. Is there any easy way to make it so that hitting enter would activate the send button? The only way I can think of doing this is actually editing the APK. Arrowing over to hit enter for the send button is getting rather tedious.

Resolution lower than specified

When I set the resolution as mentioned in the guide, the resulting window is smaller than specified.
For example 2560x1440 results to a 1920x1080 window.
Am I overlooking something?

NativeClient: MapViewOfFileEx failed err 5

I have setup the environment with Chrome 38.0.2121.3 and node.js. But it didn't work when I tried to launch "2048" app.

Console logs:
ARC JS Init: 6.000ms plugin.js:1578
ARC HTML5 FS: Request FileSystem: 109.000ms plugin.js:1578
ARC HTML5 FS: prefetchFileMetadata_: 4.000ms plugin.js:1578
File system initialization 1/3 plugin.js:1578
NativeClient: ServiceRuntime: command channel creation failed gen_index.min.html:1
ARC HTML5 FS: ensureFilesAndDirectoriesCreated_: 91.000ms plugin.js:1578
File system initialization 2/3 plugin.js:1578
NativeClient: [6784,5284:12:21:56.401000] Native Client module will be loaded at base address 0x000000000cc60000 gen_index.min.html:1
NativeClient: [6784,5284:12:21:56.467000] MapViewOfFileEx failed at 0x1cc80000, got 0x00000000, err 5 gen_index.min.html:1

Not loading packaged apk - Ubuntu 14.04, Chrome beta or stable

When trying to load the packaged apps as an unpacked extension, nothing happens. No error or warning or anything, the extension simply does not load. I tested this on beta and stable channels, I had to enable WebGL manually for both of them otherwise it gave me an error, but after enabling WebGL, no warnings, errors, new apps or new extensions.

File system initialization step 3 failure (Windows 8 64 bit, Chrome 64 bit)

TL;DR: ARChon cannot finish initializing the file system. It crashes on step 3. All information is below in order to confirm that I didn't mess it up in the process, as well as important logs. I'll give any more information needed to help determine the source of this error.

Canary version: 39.0.2167.0 (Official Build) canary

I attempted to load the ARChon runtime and the 2048 app on Chrome stable, Chrome beta, and Chrome Canary. My results have lead me only to failure. I have also attempted the same a few days ago with version 1.0 and got the same results.
Before continuing:
I have followed all instructions. ARChon unzipped, installed unpacked, loaded first. App installed the same way afterwards. 'Launch' button clicked. I've also done some fiddling and retrying to make sure it wasn't an error of my own.
All tests were done on x64 chrome on an x64 computer with x64 Windows 8 (not 8.1) with the x64 version of ARChon and the provided 2048 app.
Chrome://version was checked before each test to make sure the version was as it was expected. Full exit out of Chrome to switch from Beta to Stable.
ARChon version 1.1 was used for these tests. ARChon version 1.0 was tested previously a few days ago with the same file system problem.

Chrome Canary x64: I was unable to find this in the log for the page on inspecting app_main.html. I did, on the other hand, find it on the extensions page's log. I'm not sure why I was unable to find it in the log for app_main.html but the error is still there and is still relevant. I'd previously found it in the app_main.html log for ARChon 1.0 a few days back as well.

Both Chrome Beta x64 and Chrome Stable x64 appear to not be 'new enough' for ARChon. The information is included in case it may be important.

Chrome Beta x64: chrome.appViewInternal is not available: 'appViewInternal' requires Google Chrome dev channel or newer, but this is the beta channel. app_main.html:1
Full log: http://i.imgur.com/StZmCf4.png

Chrome Stable x64: Re-installed to stable, same error as beta, but 'beta channel' = 'stable channel'
Full log: http://i.imgur.com/kMU25Ia.png

If there's any more information I should give, or some log file (rather than the console) I should be getting information from, I'd be happy to give it. This appears to be the same issue that first appeared in #10 but it was never addressed in that issue and discussion moved on to other matters.

A little bit more information:
While it's obvious the file system initialization is causing the crash, what's not obvious is that it may have simply not printed the 3rd part and crashed sometime later. I have fiddled with the code and it definitely crashes on step 3. All tests above were done with unmodified code.

Running npm install fails on Ubuntu

When installing on Ubuntu (14.04) via npm (from ubuntu via apt-get) i get the following error message:

sudo npm install -g chromeos-apk

> [email protected] install /usr/local/lib/node_modules/chromeos-apk/node_modules/apk-parser2
> node install.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

"android-L" not working

Create "Hello world!" application and Gradle task.

task runChromeAppDebug(type: Exec) {
    executable "bash"
    args "--login", "-c", "chromeos-apk '${buildDir}/outputs/apk/app-debug.apk' " \
            + "&& /Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --load-and-launch-app=${projectDir}/${android.defaultConfig.applicationId}.android/"
}
runChromeAppDebug.dependsOn assembleDebug

Running apk with using the task!

But specifies "android-L" to "compileSdkVersion", not working.

I performed an operation check to set "20" to "compileSdkVersion"

Environment

  • OS X 10.9.4
  • Google Chrome 37.0.2062.124 (latest)
  • ARChon Custom Runtime 1.1 - x86_32 (vladikoff-archon-0674fdbc0004)
  • gradle-android-plugin 0.13.0 , Gradle 2.1
// console log on Chrome

ARC JS Init: 403.321ms plugin.js:1578
ARC HTML5 FS: Request FileSystem: 18.867ms plugin.js:1578
ARC HTML5 FS: prefetchFileMetadata_: 27.964ms plugin.js:1578
File system initialization 1/3 plugin.js:1578
ARC HTML5 FS: ensureFilesAndDirectoriesCreated_: 652.896ms plugin.js:1578
File system initialization 2/3 plugin.js:1578
1.669s + 0.020s = 1.689s (+0M virt, +0M res): App instance started
 plugin.js:1578
File system initialization 3/3 plugin.js:1578
1.669s + 0.138s = 1.807s (+0M virt, +0M res): Started emugl renderer thread
 plugin.js:1578
1.669s + 0.139s = 1.808s (+0M virt, +0M res): Starting System
 plugin.js:1578
1.669s + 0.252s = 1.921s (+0M virt, +0M res): Android runtime initialized
 plugin.js:1578
1.669s + 0.295s = 1.964s (+0M virt, +0M res): Started SurfaceFlinger
 plugin.js:1578
1.669s + 0.348s = 2.017s (+0M virt, +0M res): Started native services
 plugin.js:1578
1.669s + 0.561s = 2.230s (+0M virt, +0M res): Package dexopted
 plugin.js:1578
1.669s + 0.968s = 2.637s (+0M virt, +0M res): System server started
 plugin.js:1578
0x44E80FD5 is not a valid instance ID. gen_index.min.html:1

Minimum chrome version

No matter what I do I am getting this:
screenshot 2
Windows 8.1, 64bit Chrome beta + canary.
I am a noob and sorry if this doesn't belong here.

Failed to install chromeos-apk with npm on Windows

When I install chromeos-apk which depend apk-parse2 npm throw error "Unknow OS" https://github.com/gergelyke/node-apk-parser2/blob/master/install.js#L19 It doesn't support windows.
This is part of the npm-debug.log

77 info [email protected] Failed to exec install script
78 info C:\Users\Keith\AppData\Roaming\npm\node_modules\apk-parser2 unbuild
79 info preuninstall [email protected]
80 info uninstall [email protected]
81 verbose true,C:\Users\Keith\AppData\Roaming\npm\node_modules,C:\Users\Keith\AppData\Roaming\npm\node_modules unbuild [email protected]
82 info postuninstall [email protected]
83 error [email protected] install: `node install.js`
83 error Exit status 8

Plugin failed to load - Windows 7 64bits Chrome Canary

I just discovered this big thing on the internet and wanted to try it out. I don't know where I did wrong, but all the "apps" that ran on my Chrome can't seem to find a folder called "_module". Am I being a noob? Can't this run on my Chrome?

First I have this plugin loaded to my Chrome Canary.
Then, I loaded the 2048 apk as well, but can't be launched.
After, I check for chrome-apk but it's for Chrome OS and probably isn't right for me to try that.
Finally, got stuck.

Log:

Unrecognized manifest key 'arc_metadata'
File system initialization 1/3
File system initialization 2/3
Plugin failed to load
Received a crash
0x7572C639 is not a valid instance ID
prod: ARC
arc_app_name: com.uberspot.a2048
ptime: 486
crash_time: Sat Sep 20 2014 11:26:52 (Basically my time)
ver: 38.4410.120.25
arc_build_tag: arc-runtime-38.4410.120.25
message: loadfailure
chrome_version: 39.0.2163.3
app_id: plfjlfohfjjpmmifkbcmalnmcebkklkh
app_version: 1337
width: 360
height: 672
is_minimized: false
is_maximized: false
is_fullscreen: false
FINISHED REPORTING CRASH
the child process has been loaded: so_executable/umareporter
0x6A4FCF9D is not a valid instance ID

NDK build doesn't work.

I tried it all just now. Looks great, and the directions are straight forward. 2048 works well. Running Chrome 37 on Win 64. I tried one of my apps that I built with Qt (uses the android ndk and c++), and no luck. It originally was built for arm7. I'll try building for x86 soon and try again. I also noticed that my app didn't launch properly on Virtualbox Android x86. It did work in BlueStacks, though.

Also I used http://forum.xda-developers.com/android/apps-games/app-chrome-apk-packager-generates-t2885958 to generate the package.

don't support WebGL ?

Here's the information I got,
Failed to load extension from: /tmp/com.instagram.android.android
WebGL is not supported.

what's the problem? is that my computer don't support webgl or chrome don't support or ,, runtime's problem?

Not installing extension on Chrome for OS X

I've created an extension with

chromeos-apk app/app-release.apk

but when I try to "Load Unpacked Extension" it doesn't do anything. No error alerts, nothing. What am I missing ?

I have:

  • Google Chrome Version 37.0.2062.122
  • OS X 10.9.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.