[Solved] android-442 is an invalid integer ?!??! lazarus / 43-Android ---------------------------------------------------------------------- majid.ebru · 2018-02-07 12:57 Hi when i want to create new project , i have Erroe?? can anyone help me?!?! ---------------------------------------------------------------------- Bart · 2018-02-07 15:37 The errormessage is correct though  Bart ---------------------------------------------------------------------- jmpessoa · 2018-02-07 16:11 LAMW? Go to to  android-sdk folders and look for sub-folder "android-442" ..... where? ---------------------------------------------------------------------- majid.ebru · 2018-02-09 17:59 Quote from: jmpessoa on February 07, 2018, 05:11:00 pmLAMW? Go to to  android-sdk folders and look for sub-folder "android-442" ..... where? Yes LAMW i don't have any "android-442" folder when i click ok , Error ---------------------------------------------------------------------- jmpessoa · 2018-02-09 19:49 Ok. 1) Try Fix Path to JDK .... only until "jdk1.8.0_112"  ... drop "\bin" 2) Try fix Path to Ant bin.... here we need add  "\bin" ---------------------------------------------------------------------- majid.ebru · 2018-02-11 06:06 i fix this,but i have error ---------------------------------------------------------------------- majid.ebru · 2018-08-07 17:11 Hi again i update to version 0.8  but i have error?!?! new error. i did'nt install JAVA(i can't install it) !?!? and i just copy java folder from other PC?!? ---------------------------------------------------------------------- Handoko · 2018-08-07 18:16 Quote from: majid.ebru on August 07, 2018, 07:11:34 pmi did'nt install JAVA(i can't install it) !?!? and i just copy java folder from other PC?!? Java is not a portable application. https://en.wikipedia.org/wiki/Portable_application Simple copy/paste from other computer usually won't work because some registry and config settings may not be copied properly. Unless you're a Windows expert so you know how to copy them manually (using registry export tool and know where the hidden files stored). There is a portable version of Java, but it is a different story: https://portableapps.com/apps/utilities/java_portable ---------------------------------------------------------------------- sameer · 2018-08-07 18:47 Hi Majid, I used to get similar error too. I sorted it out by renaming folders. Ensure this : 1. Your Gradle file path string should end with "4.1". If you have something like "4.8 rc 2" then you get this error. 2. Your Android SDK folder file path string should not contain any "P" character. Regards -Sameer ---------------------------------------------------------------------- jmpessoa · 2018-08-09 16:39 Quote2. Your Android SDK folder file path string should not contain any "P" character. I will fix it! Thank you! ---------------------------------------------------------------------- majid.ebru · 2018-10-16 17:15 Hi i deleted folders "platforms" and "build-tools" from SDK folder. now i can open new project but i have errors ??? ---------------------------------------------------------------------- jmpessoa · 2018-10-16 17:29 Quotei deleted folders "platforms" and "build-tools" from SDK folder. I'm sorry, but that does not make sense ...  LAMW need  "platforms" and "build-tools" contents folders ... ---------------------------------------------------------------------- Handoko · 2018-10-16 17:35 Quote from: majid.ebru on October 16, 2018, 07:15:21 pmi deleted folders "platforms" and "build-tools" from SDK folder. You should not delete the folders manually, but you use Android SDK Manager instead. Now, you should run your Android SDK Manager and reinstall them. I use this combination below, and it works on my Linux machine LAMW 0.8 to build Android app to run on my Android 7 mobile phone: - Android SDK Tools Rev. 25.2.5 - Android SDK Platform-tools Rev. 28.0.1 - Android SDK Build-tools Rev. 25 - SDK Platform API 25 Rev. 3 - Google APIs ARM EABI v7a System Image API 25 Rev. 14 ---------------------------------------------------------------------- majid.ebru · 2018-10-16 17:44 i can't download from Android site. so i must download zip files. i find error. i change folder name and error solved. but i have another error: "Fatal: [EStringListError] Failed: List index (0) out of bounds" ---------------------------------------------------------------------- Handoko · 2018-10-16 17:51 I'm not very sure but if I remember correctly "List index (0) out of bounds" could happen if there is some fault values in your *.frm file. You may manually repair the file if you know how, but that is not easy. Try to start a new Android project. Maybe hello world, to test if your Lazarus, LAMW, SDK, NDK, etc still work correctly. ---------------------------------------------------------------------- majid.ebru · 2018-10-16 17:59 tnx i open "AppActionBarTabDemo1". but ---------------------------------------------------------------------- majid.ebru · 2018-10-20 07:36 What should the contents of the folder's "build-tools" be? ---------------------------------------------------------------------- Handoko · 2018-10-20 14:54 My build-tools folder contains a folder 25.0.0, which I think is the version of the SDK installed. Inside that folder, it has 27 items. ---------------------------------------------------------------------- majid.ebru · 2018-11-05 08:20 Hi Finally , i build a APK without install Java and just copy folder's Java   i change name of foldr of "Build-tools" , then Lazarus  --> Run --> Build ,then i went to folder's project and run "build-debug.bat". Thankyou