Category Archives: Android Studio

Problem Solved: No such file or directory AAPT err(672190433)

Saya ingin membuild file .apk menggunakan gradle di CentOS tetapi mengalami kendala. Eksekusi ./gradlew assembleRelease yang biasanya mulus, kali ini menemukan pesan error seperti ini:

cannot open shared object file:  No such file or directory AAPT err(672190433): build-tools/22.0.1/aapt:  error while loading shared libraries: libz.so.1

ini solusinya:

chmod +x */build-tools/22.0.1/aapt

Path build-toolsnya harap disesuaikan

Loading Title Pada Aplikasi WebView Android

myWebView.setWebChromeClient(new WebChromeClient() {     public void onProgressChanged(WebView view, int progress)     {         //Menampilkan title Loading... sebelum webview load 100% halaman web.         setTitle("Loading...");         setProgress(progress * 100);          // Menampilkan title setelah loading web selesai.         if(progress == 100)             setTitle(R.string.rahmatriyanto);     } });