Maybe you need download mode https://crosswalk-project.org/documentation/download_mode.html
From: Crosswalk-help [mailto:[email protected]] On Behalf Of hongzuo_z Sent: Friday, November 04, 2016 10:24 AM To: crosswalk-help Subject: Re: [Crosswalk-help] Crosswalk-help Digest, Vol 35, Issue 8 I'm using a way to reduce apk size. I remove so files when packaging app. when user touches some areas, I give them a choice dialog to download so files. After downloading so files, I render html with crosswalk. 在2016年11月04 08时51分, "crosswalk-help-request"<[email protected]<mailto:[email protected]>>写道: Send Crosswalk-help mailing list submissions to [email protected]<mailto:[email protected]> To subscribe or unsubscribe via the World Wide Web, visit https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help or, via email, send a message with subject or body 'help' to [email protected]<mailto:[email protected]> You can reach the person managing the list at [email protected]<mailto:[email protected]> When replying, please edit your Subject line so it is more specific than "Re: Contents of Crosswalk-help digest..." Today's Topics: 1. Re: Crash of Chrome_InProcRendererThread (Fu, Junwei) 2. Re: Please how decrease size apk (Fu, Junwei) ---------------------------------------------------------------------- Message: 1 Date: Fri, 4 Nov 2016 00:39:43 +0000 From: "Fu, Junwei" <[email protected]<mailto:[email protected]>> To: hongzuo_z <[email protected]<mailto:[email protected]>>, crosswalk-help <[email protected]<mailto:[email protected]>> Subject: Re: [Crosswalk-help] Crash of Chrome_InProcRendererThread Message-ID: <bdd863a8aa703d4d8a2639fb639a4482367d8...@shsmsx102.ccr.corp.intel.com<mailto:[email protected]>> Content-Type: text/plain; charset="iso-2022-jp" It would be helpful if you could describe your usage scenario, share your partial code to reproduce the issue. Thanks, Junwei. From: Crosswalk-help [mailto:[email protected]<mailto:[email protected]>] On Behalf Of hongzuo_z Sent: Thursday, November 03, 2016 3:34 PM To: crosswalk-help Subject: [Crosswalk-help] Crash of Chrome_InProcRendererThread Hi, Everyone, I?m a green hand to use Crosswalk Embbed in Android. Nearly I met a problem, in Somehow, my app just crashes and Error log is : #18072 Chrome_InProcRendererThread SIGSEGV(SEGV_MAPERR) #00 pc 00add040 /data/data/com.yunfan.filmtalent/app_xwalkcore/libxwalkcore.so [armeabi-v7a] 1?I have set hard accelerate is true 2?I?m using 21.51.546.6 version of crosswalk -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.crosswalk-project.org/pipermail/crosswalk-help/attachments/20161104/38cdd5d1/attachment-0001.html> ------------------------------ Message: 2 Date: Fri, 4 Nov 2016 00:51:51 +0000 From: "Fu, Junwei" <[email protected]<mailto:[email protected]>> To: Wilmar Martinez <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [Crosswalk-help] Please how decrease size apk Message-ID: <bdd863a8aa703d4d8a2639fb639a4482367d8...@shsmsx102.ccr.corp.intel.com<mailto:[email protected]>> Content-Type: text/plain; charset="us-ascii" It's included arm and x86 binary. You can only build x86 with specifying arch: dependencies { compile 'org.xwalk:xwalk_core_library:21.51.546.7:x86@aar' } It also can be built multi-APK at the same time: productFlavors { armv7 { versionCode defaultConfig.versionCode*10 + 2 ndk { abiFilters "armeabi-v7a", "" } } x86 { versionCode defaultConfig.versionCode*10 + 4 ndk { abiFilters "x86", "" } } all { ndk { abiFilters "all", "" } } } Thanks, Junwei. From: Crosswalk-help [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Wilmar Martinez Sent: Thursday, November 03, 2016 11:30 PM To: [email protected]<mailto:[email protected]> Subject: [Crosswalk-help] Please how decrease size apk Good afternoon, Please somebody help me, Is only a webview apk size at the moment have around of 48 megas https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/21.51.546.7/ First: I trying with this code bellow, but not work, repositories { maven { url 'https://download.01.org/crosswalk/releases/crosswalk-lite/android/maven2'}} dependencies { compile 'org.xwalk:xwalk_core_library_canary:17.46.457.1' and MainActivity import android.os.Bundle; import android.widget.RelativeLayout; import org.xwalk.core.XWalkActivity; import org.xwalk.core.XWalkResourceClient; import org.xwalk.core.XWalkUIClient; import org.xwalk.core.XWalkView; public class MainActivity extends XWalkActivity { XWalkView mXWalkView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); //Don't initXWalkView here! } public void initXWalkView() { mXWalkView = new XWalkView(this); RelativeLayout Ll = (RelativeLayout) findViewById(R.id.layout1); Ll.addView(mXWalkView); mXWalkView.setUIClient(new XWalkUIClient(mXWalkView)); mXWalkView.setResourceClient(new XWalkResourceClient(mXWalkView)); mXWalkView.load("https://crosswalk-project.org<https://crosswalk-project.org/><https://crosswalk-project.org%3chttps:/crosswalk-project.org/%3e>", null); } @Override protected void onXWalkReady() { //initXWalkView in onXWalkReady(). initXWalkView(); } } } Third: I trying with this code, but not work, https://crosswalk-project.org/documentation/android/embedding_crosswalk.html Reference Crosswalk webview from your project In my app/libs crosswalk-webview-17.46.460.1-x86 And MainActivity import android.os.Bundle; import android.widget.RelativeLayout; import org.xwalk.core.XWalkActivity; import org.xwalk.core.XWalkResourceClient; import org.xwalk.core.XWalkUIClient; import org.xwalk.core.XWalkView; public class MainActivity extends XWalkActivity { XWalkView mXWalkView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); //Don't initXWalkView here! } public void initXWalkView() { mXWalkView = new XWalkView(this); RelativeLayout Ll = (RelativeLayout) findViewById(R.id.layout1); Ll.addView(mXWalkView); mXWalkView.setUIClient(new XWalkUIClient(mXWalkView)); mXWalkView.setResourceClient(new XWalkResourceClient(mXWalkView)); mXWalkView.load("https://crosswalk-project.org<https://crosswalk-project.org/><https://crosswalk-project.org%3chttps:/crosswalk-project.org/%3e>", null); } @Override protected void onXWalkReady() { //initXWalkView in onXWalkReady(). initXWalkView(); } } Attentively, Wilmar Martinez -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.crosswalk-project.org/pipermail/crosswalk-help/attachments/20161104/598cdad4/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ Crosswalk-help mailing list [email protected]<mailto:[email protected]> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help ------------------------------ End of Crosswalk-help Digest, Vol 35, Issue 8 *********************************************
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
