Coder Social home page Coder Social logo

chromium-android's Introduction

Logo

Chromium Android

Build Status Release Version Latest Release Download

Introduction

  • This is the source code of Chromium Android app.
  • All files are from (or generate from) the Chromium project.
  • This repository helps you review the most popular browser app on Android.
  • You can also build your own Android browser with this repository.

Start Working

Check out this repository and open the project with Android Studio.

Now you can build, run, debug as a normal android project.

Notice: If you have something wrong with build, try close instant run in Android Stuido settings.

Screenshots

Welcome App Home

Html5 Score Video Play

Source Update

If you want to update Chromium source, these steps may help:

  1. Checking out and building Chromium for Android, to match our build settings, use tools/args.gn

  2. Generate files for Android Studio with offical guide: Android Studio

    • After that, you can find some build.gradle files in [BUILD_TARGET]/gradle, which defines the Java sources for Chromium.
  3. Try sync files with script: tools/sync_chromium.sh

    • Replace BASE_DIR in script with your Chromium src dir.
    • Replace RELEASE_DIR in script with your build dir.
    • PRO_DIR is the dir where new files will copied to.
    • Sync script may out of date that you need modify it yourself.
  4. Finally, replace all files in this project with the new files.

Thanks

This project is based on:

Copyright & License

Please see LICENSE.

chromium-android's People

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

chromium-android's Issues

Generate for android stuido

请问,build/android/gradle/generate_gradle.py --output-directory out/Debug 这个要翻墙拉一些依赖吗

Just is my question

Hi,
Thank you for sharing this chromium build project.
Can you please sharing me the simple project like content shell of chromium?
Thank in advance!

RED frame around the app

Hi

When running the app, i get a red frame every time the app "thinks".

image

As if "Strict mode" is on, but "Strict mode" is off

My device is Samsung A5.

Thanks
Avi
image

Update request

Hi,

Thank's for the great project.

I was wandering if you could please update the project to the last chromium (70?)?

Thanks
Avi

vr问题

删除gradle中的vr包的时候产生了“错误: 程序包com.google.protobuf.nano不存在”,这个东西有什么解决办法吗?

sync_chromium.sh error

Hi

When trying to run the sync script i get this error:
cp: target '/home/***/Chromium/app/src/main/java' is not a directory

The problom seams to be this line of code:
"mkdir -p ${MODULES_DIR}/components/{autofill,components_base,embedder_support}/src/main/res"

it creates the "src" folder as "{src" and also created a footer named "{java,res,aidl},libs}".

trying to run this specific command manually creates the right folders, but via the script i get the error
I'm using android 16.
i'm running the script like this: sh ./sync_chromium.sh

Thanks

Url not load in webview

Hi,
when i add webview and load url then content not load. how to fix this? please help me,

generate_gradle.py 如何生成Android studio 工程

build/android/gradle/generate_gradle.py --output-directory out/Default --sdk AndroidStudioDefault --target //chrome/android:chrome_public_apk --canary --full --split-projects --use-gradle-process-resources
我使用的是这个命令,编译时一直报错,请问应该怎么处理

Full Screen

Hi , How to create new tab with Full Screen default ? Thank you 。
嗨~ 有谁知道怎么创建默认全屏的tab页面吗?

libchrome.so 与 libchrome.cr.so 的区别

你好。官方的out目录里面是libchrome.cr.so文件,请问你目录里面的libchrome.so文件是怎么生成的。 还有如果我要修改c的代码,然后重新编译so库,要怎么做?谢谢。

Sync file for Content-Shell

Hey
I am using the Content Shell project of yours for reference. Can you provide the sync file for that which you used?

Layout Changed.

Hi, when i changed search engine from google to bing after that tab screen layout changed.There is two search bar visible. how to handle?

請問

I am a Chromium Android 76 user.

The browser always appears red frame How can I close it?
I followed this practice, but it didn't work.

#13

Click settings are still displayed, how to solve this problem?

@kuoruan

将chromium打包成库

麻烦问下有没有尝试过将chromium封装成一个类似webview的view供外部调用?

Content_Shell build - help wanted

Hi,

Could you please guide me how to build content_shell_apk and import it to Android Studio, Modify custom code, Rebuild the apk ?

Any help regarding this is highly appreciated.

Change applicationID

I tried to change the applicationId inside build.grade from applicationId "org.chromium.chrome" to
applicationId "ch.test.chromium.chrome", synced gradle and built a unsigned app. Unfortunately the app can not be installed on the device. Is there a way to change the applicationId for Chromium? I need a signed chromium version for testings inside an enterprise environment.

[Question] Where is the document?

Chromium is a big project, and it's too hard to customize for newbie like me. So I can learn/research in where? Too many many question :D

  • how to change default user-agent
  • how to change autoplay policy with flags
  • how to force reload xhr if failed
    ....

blink/mojom是在哪里找到的

我翻源码找不到blink/mojom及其目录下的java文件
而且在out/Default目录下生成的lib.java里面也没有blink相关的jar包
请问你是怎么找到blink/mojom 和blink_public这两个内容的

This is not issue but request

Hello Team,
I want to integrate autofill information same as Chromium does. I have data like address, credit cards, passwords, personal information, etc. How can I integrate all this stuff on my custom browser? Please advice me.

Update to chromium 73

Hi,

Thanks a lot for the great project.

I was wondering if you could take the time to update the project to the latest chromium version (Currently 73.xxx).

Thanks in advance
Ingla

"This account already exists on your device"

Hi,

After installing the app, when trying to login into my google account i get an error saying "this account already exists on your device".

I tested it on the following devices:
Nexus x5 running Android 8.1
Nexus 4 running Android 5.1.1
Samsung SM-J120F Running Android 5.1

All give the same error.

photo_2018-05-04_16-57-38

If i try login in with an account different then the one on the device then it works fine.

Thanks
Avi

Cant open this page Error

HI,

Thanks for the v70 update.

Since the last update they are some pages that the browser cant load.
It actually does load the page' but after a few seconds you get an error saying: "Cant open this page".

Please advice

Thanks
Avi

P.B: I tested it on multiple devices with different android versions;
Example for a URL that doesn't work:
www.inn.co.il
Error screenshot:

2018-12-03 11 22 28

50 errors when building from latest release source

Hi.
I tried to build the app (nothing was changed, just opened the zip, connected phone with debugging and clicked Run).
It did show 50 errors, most of which were Cannot find R in import org.chromium.chrome.R;.

Also it did show in Manifest that manageSpaceActivity string is missing (but it can run without it)

Cannot find symbols

I've tried your instructions of updating the chromium sources. However, I cannot build using ./gradlew assemble, I get a lot of "Cannot find symbols" message, like this:

symbol: variable SendTabToSelfAndroidBridgeJni
location: class SendTabToSelfAndroidBridge
/home/blomium/src/chrome/android/java/src/org/chromium/chrome/browser/send_tab_to_self/SendTabToSelfAndroidBridge.java:71: error: cannot find symbol
return SendTabToSelfAndroidBridgeJni.get().addEntry(

Any clues of how I can solve them ?

Android 5.1.1

Hi,

The app crashes on android 5.1.1.
I get an error: Chrome failed during startup with an unexpected error.

Logcatr is showing this:
06-03 17:33:45.581 31096-31096/? E/Zygote: MountEmulatedStorage()
06-03 17:33:45.581 31096-31096/? E/Zygote: v2
06-03 17:33:45.586 31096-31096/? E/Zygote: accessInfo : 0
06-03 17:33:45.586 31096-31096/? E/SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
06-03 17:33:49.931 31096-31123/org.chromium.chrome E/art: dlopen("/data/app/org.chromium.chrome-2/lib/arm/libchrome.so", RTLD_LAZY) failed: dlopen failed: empty/missing DT_HASH in "libchrome.so" (built with --hash-style=gnu?)
06-03 17:33:49.931 31096-31123/org.chromium.chrome E/cr_LibraryLoader: Unable to load library: chrome
06-03 17:33:50.311 31096-31096/org.chromium.chrome E/ResourcesCompat: Failed to find font-family tag
06-03 17:33:54.761 27641-27641/? E/Finsky: [1] com.google.android.finsky.api.n.a(27761): Null wrapper parsed for request=[[ ] https://android.clients.google.com/fdfe/apps/contentSync 0xe8d195d1 NORMAL 78]
06-03 17:34:08.271 2665-3005/? E/Watchdog: !@sync 507 [06-03 17:34:08.275]

Thanks

Android 6.0及以下系统中会崩溃

您好!非常感谢您的项目,对我的工作帮助很大!
我Clone项目后在Android Studio中编译出来的apk在7.0及以上版本中可以正常使用,但是在6.0及以下版本(API 21-23)中会崩溃(minSdkVersion = 21)。
我在googlesource上下载了完整的 66.0.3359.155 的代码,使用项目中的args.gn,编译chrome_public_apk 出来的apk可以正常在6.0及以下版本(只测试了API 21-23)中运行。
查看Logcat发现是加载libchrome.so时的Fatal Error,暂未找到更有用的其他信息。
能帮忙看看是哪里的问题吗?或者能否提供些思路来分析这个问题?多谢多谢

chromium for android studio工程

你将chromium for android studio工程从chromium源码中抠出来的过程有没有一些文档可以参考啊,我这边需要生成最新工程,谢谢!

Crash with native library (jniLibs)

2018-12-19 23:58:01.262 17791-17791/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: Build fingerprint: 'Nokia/Dragon_00WW/DRG_sprout:9/PPR1.180610.011/00WW_3_30C:user/release-keys'
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: Revision: '0'
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: ABI: 'arm'
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: pid: 17655, tid: 17655, name: chromium.chrome >>> org.chromium.chrome <<<
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: Cause: null pointer dereference
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: r0 00000000 r1 ffe52890 r2 00000000 r3 00000000
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: r4 00000000 r5 ffe528e4 r6 c740e612 r7 ffe528e4
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: r8 cc59dc40 r9 00000000 r10 0000000f r11 ffe52d58
2018-12-19 23:58:01.263 17791-17791/? A/DEBUG: ip 00000001 sp ffe52820 lr c7f08be7 pc c76ca5a0
2018-12-19 23:58:01.432 17791-17791/? A/DEBUG: backtrace:
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #00 pc 008815a0 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #1 pc 010bfbe5 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #2 pc 012e2c85 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #3 pc 012e21cd /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #4 pc 011a6d65 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #5 pc 011a5e47 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #6 pc 00c2c713 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #7 pc 01320147 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #8 pc 00ba9f0b /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #9 pc 008351ef /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #10 pc 008457e1 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #11 pc 00845b89 /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #12 pc 0084603f /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/lib/arm/libchrome.so (offset 0x820000)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #13 pc 00411a79 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #14 pc 0040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #15 pc 003e6bf9 /system/lib/libart.so (art_quick_invoke_stub+224)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #16 pc 000a1015 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #17 pc 001e5ae9 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+236)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #18 pc 001e05d7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+814)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #19 pc 003e26e1 /system/lib/libart.so (MterpInvokeDirect+196)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #20 pc 00400494 /system/lib/libart.so (ExecuteMterpImpl+14484)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #21 pc 001d4598 /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/org.chromium.chrome-sTQT8QJ7Ixi8tNh_UH54dQ==/base.apk (deleted) (org.chromium.base.SystemMessageHandler.handleMessage+48)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #22 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #23 pc 001c9439 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #24 pc 001e05bf /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #25 pc 003e1853 /system/lib/libart.so (MterpInvokeVirtual+442)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #26 pc 00400394 /system/lib/libart.so (ExecuteMterpImpl+14228)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #27 pc 00b0fc62 /system/framework/boot-framework.vdex (android.os.Handler.dispatchMessage+162)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #28 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #29 pc 001c9439 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #30 pc 001e05bf /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #31 pc 003e1853 /system/lib/libart.so (MterpInvokeVirtual+442)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #32 pc 00400394 /system/lib/libart.so (ExecuteMterpImpl+14228)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #33 pc 00b16e48 /system/framework/boot-framework.vdex (android.os.Looper.loop+400)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #34 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #35 pc 001c9439 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #36 pc 001e05bf /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #37 pc 003e282f /system/lib/libart.so (MterpInvokeStatic+130)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #38 pc 00400514 /system/lib/libart.so (ExecuteMterpImpl+14612)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #39 pc 00394d32 /system/framework/boot-framework.vdex (android.app.ActivityThread.main+214)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #40 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #41 pc 001c937f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #42 pc 003d5339 /system/lib/libart.so (artQuickToInterpreterBridge+880)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #43 pc 00411aff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #44 pc 0040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #45 pc 003e6cfb /system/lib/libart.so (art_quick_invoke_static_stub+222)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #46 pc 000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #47 pc 00347b45 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #48 pc 00348f95 /system/lib/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+1024)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #49 pc 002fb14d /system/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+40)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #50 pc 0011326f /system/framework/arm/boot-core-oj.oat (offset 0x10d000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+110)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #51 pc 0040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2018-12-19 23:58:01.433 17791-17791/? A/DEBUG: #52 pc 003e6bf9 /system/lib/libart.so (art_quick_invoke_stub+224)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #53 pc 000a1015 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #54 pc 001e5ae9 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+236)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #55 pc 001e05d7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+814)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #56 pc 003e1853 /system/lib/libart.so (MterpInvokeVirtual+442)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #57 pc 00400394 /system/lib/libart.so (ExecuteMterpImpl+14228)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #58 pc 00c397e2 /system/framework/boot-framework.vdex (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #59 pc 001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2714950048+378)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #60 pc 001c937f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #61 pc 003d5339 /system/lib/libart.so (artQuickToInterpreterBridge+880)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #62 pc 00411aff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #63 pc 00a1d2e5 /system/framework/arm/boot-framework.oat (offset 0x3af000) (com.android.internal.os.ZygoteInit.main+2836)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #64 pc 0040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #65 pc 003e6cfb /system/lib/libart.so (art_quick_invoke_static_stub+222)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #66 pc 000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #67 pc 00347b45 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #68 pc 0034796f /system/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+310)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #69 pc 0028eb11 /system/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+444)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #70 pc 0006db73 /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+30)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #71 pc 0006fdcb /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+458)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #72 pc 00001b1b /system/bin/app_process32 (main+882)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #73 pc 0008b00d /system/lib/libc.so (__libc_init+48)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #74 pc 00001767 /system/bin/app_process32 (_start_main+38)
2018-12-19 23:58:01.434 17791-17791/? A/DEBUG: #75 pc 00000306 anonymous:eaf56000

i am using an old branch 66.0.3359.155 i am getting this on android 9 can anyone tell me what the issue is ? i am a beginner in android, anybody can help me out ?

[Question] How to always keep the fullscreen mode?

Hi,

Im creating a fullscreen app, but Chromium's UI has an URL bar, I dont know how to hide it everytime.
I found this function to enter the fullscreen mode, but cannot keep it, It will be go to exit if navigating to a new URL

getFullscreenManager().setPersistentFullscreenMode(true);

Also have another issue: How to turn off the red border? Like this image: http://cdn.droidviews.com/wp-content/uploads/2013/06/Fix-the-Red-Frame-Android.jpg . But only get issue with Chromium

Thanks!

FileDescriptor must not be null,Failed to load native library error

While launching this app on Samsung device ( Galaxy On7) app is crashing immediately with following error.

Logs related to crash is as follows:--
1/org.chromium.chrome:privileged_process1 E/cr_ChildProcessService: Failed to load native library.
java.lang.NullPointerException: FileDescriptor must not be null
at android.os.ParcelFileDescriptor.(ParcelFileDescriptor.java:176)
at android.os.ParcelFileDescriptor$2.createFromParcel(ParcelFileDescriptor.java:953)
at android.os.ParcelFileDescriptor$2.createFromParcel(ParcelFileDescriptor.java:944)
at org.chromium.base.library_loader.Linker$LibInfo.(Linker.java:666)
at org.chromium.base.library_loader.Linker$LibInfo$1.createFromParcel(Linker.java:700)
at org.chromium.base.library_loader.Linker$LibInfo$1.createFromParcel(Linker.java:697)

Easy Question

i wanna know the path of the source code of Android ?
i have bulid chromium on ubuntu and i have APK
/home/user/chromium2/src/out/Bateekh/

70版播放视频出错

两个70版播放视频时直接出现崩溃页面,66版没问题。请问一下这是什么情况?

Error when running on KitKat v.4.4.4

Hi, great project,

Chromium is crashed when I try to deploy it to my device:


03-14 11:58:10.848 31210-31210/? E/AndroidRuntime: FATAL EXCEPTION: main

Process: org.chromium.chrome, PID: 31210
java.lang.RuntimeException: Unable to get provider org.chromium.chrome.browser.util.ChromeFileProvider: java.lang.ClassNotFoundException: Didn't find class "org.chromium.chrome.browser.util.ChromeFileProvider" on path: DexPathList[[zip file "/data/app/org.chromium.chrome-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.chromium.chrome-2, /vendor/lib, /system/lib]]
    at android.app.ActivityThread.installProvider(ActivityThread.java:5246)
    at android.app.ActivityThread.installContentProviders(ActivityThread.java:4817)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4750)
    at android.app.ActivityThread.access$1500(ActivityThread.java:169)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1573)
    at android.os.Handler.dispatchMessage(Handler.java:110)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:5529)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:657)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.chromium.chrome.browser.util.ChromeFileProvider" on path: DexPathList[[zip file "/data/app/org.chromium.chrome-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.chromium.chrome-2, /vendor/lib, /system/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
    at android.app.ActivityThread.installProvider(ActivityThread.java:5231)
    at android.app.ActivityThread.installContentProviders(ActivityThread.java:4817) 
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4750) 
    at android.app.ActivityThread.access$1500(ActivityThread.java:169) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1573) 
    at android.os.Handler.dispatchMessage(Handler.java:110) 
    at android.os.Looper.loop(Looper.java:193) 
    at android.app.ActivityThread.main(ActivityThread.java:5529) 
    at java.lang.reflect.Method.invokeNative(Native Method) 
    at java.lang.reflect.Method.invoke(Method.java:515) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:657) 
    at dalvik.system.NativeStart.main(Native Method) 

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.