Skip to content
  • Home
  • Agro
    • Agro
    • Akuaponik
    • Hidroponik
    • Ayam Kampung
  • DIY
    • DIY
    • Rumah Kampung
  • Tech
    • Tech
    • Titanium Mobile
  • Media
    • Media
    • Downloads
    • Dashcam Drive
  • Misc
    • Pelbagai
    • Makanan
    • Fotografi
    • Idea
    • E-mau
  • Home
  • Agro
    • Agro
    • Akuaponik
    • Hidroponik
    • Ayam Kampung
  • DIY
    • DIY
    • Rumah Kampung
  • Tech
    • Tech
    • Titanium Mobile
  • Media
    • Media
    • Downloads
    • Dashcam Drive
  • Misc
    • Pelbagai
    • Makanan
    • Fotografi
    • Idea
    • E-mau
blog.azwan082.my


Blog ini tidak lagi dikemaskini, sila ke
👉 azwan082.my 👈
untuk dapatkan kandungan terbaru.

#APK  #Titanium Mobile

Enable x86 libs in production build Titanium app

On 29 September 2013 in Tech

In Titanium studio when we build an apk for production, it doesn’t include x86 libs which cause this exception occur on users device, and the app force close immediately after launch:

KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: Couldn't load stlport_shared: findLibrary returned null;

There’s a line of code in Titanium build script build.py that disable it in production settings, which the reason is unknown (last time it was because there are not many x86 devices out there, but it’s different now).

To enable x86 libs in production, comment out this line of code from build.py (mobilesdk/<os>/<version>.GA/android/build.py)

for abi in self.abis:
  lib_source_dir = os.path.join(sdk_native_libs, abi)
  lib_dest_dir = 'lib/%s/' % abi
# if abi == 'x86' and ((not os.path.exists(lib_source_dir)) or self.deploy_type == 'production'):
#   # x86 only in non-production builds for now.
#   continue

Source: http://developer.appcelerator.com/question/154006/x86-libs-not-included-in-production-apk

Share this post:
  • Share
  • Tweet
  • LinkedIn

Related posts:

  • Titanium app hex color value with alpha channel
  • Ti.Network.registerForPushNotifications no response
  • Method calling thread for Titanium module (Android)
  • Titanium Android keystore
  • Add custom framework to Titanium iOS module
  • Indirect code execution flow
  • Android Popup Menu module for Titanium
  • Setup Titanium Studio environment for developing Titanium module (Android) on Windows
  • Flurry Android 3.2.0 SDK for Titanium module
  • Load nib file in Titanium module iOS

Filed under Tech with tags APK, Titanium Mobile

Post navigation

Previous Post Previous post:
Titanium iOS “build” is an unrecognized command
Next Post Next post:
Load nib file in Titanium module iOS

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Media sosial

  • facebook
  • instagram
  • twitter
  • pinterest
  • youtube

Carian

Artikel popular

  • Saiz standard kayu, papan dan plywood
  • Pemasangan dinding plywood rumah kampung secara solo
  • 3 Jenis Asas Sistem Hidroponik Yang Digunakan Dalam Akuaponik Serta Variasinya
  • Kepincangan dalam menggunakan paip PVC sebagai saluran NFT hidroponik
  • Cara membuat sistem NFT untuk akuaponik – Saliran masuk
  • Cara pasang pintu rumah
  • Jenis skru kayu
  • Slack MacOS client keep crashing

Artikel terkini

  • 2 video #emau dari 2020/0221 February 2020
  • Gaya hidup minimalis14 February 2020
  • How to sync Mac OS Photos Library to an external disk storage17 January 2020
  • Sejarah dividen KWSP10 January 2020
  • Sejarah dividen Tabung Haji10 January 2020
  • Sejarah dividen ASB10 January 2020
  • Selamat dekad baru 2020-an3 January 2020
  • Dashcam Drive #17 – Taman Danu Serian → Ranchan Recreational Park1 January 2020

Tag

1N2D Akuaponik Android Apache Ayam Kampung Bash C# Cache Cili CommonJS Controller Dashcam Drive E-mau Fedora Fotografi Git Gnome Happy Together Hidroponik Idea Invincible Youth iOS Java Javascript Ke Indonesia Ke Kita? Ke Jepun Ke Kita? Ke Korea Ke Kita? Kewangan ListView Makanan Mr. Bean PHP Python Rant Roundtable Plus RPM Rumah Kampung Star Golden Bell Subversion SVN Titanium Mobile Titanium Module Titanium Studio windows phone WrestleMania

Arkib

Perihal

@azwan082

Seorang pembangun perisian (software developer) untuk peranti mudah alih (mobile devices) dan laman web, menggunakan bahasa pengaturcaraan Swift (iOS), Java (Android), PHP, MySQL dan Javascript (aplikasi web). Blog ini adalah tempat untuk saya berkongsi perkara, minat dan projek sampingan, seperti berkebun, kerja² kayu DIY, video dashcam drive dan pelbagai lagi.

© 2021 Noodlecode

Back to top
sponsored