Recent

Author Topic: Error when compiling app for android  (Read 1829 times)

criss6100

  • New Member
  • *
  • Posts: 24
Error when compiling app for android
« on: March 02, 2015, 08:12:19 pm »
I tried to compile a test application for android (just some buttons), but I recive error "cannot find unit unitcodedata used by caracter" when trying to compile the application, I have clean installed the latest available builds of Android SDK, NDK, Laz4Android and Laz2apk following the android guide from the Lazarus Wiki"
But I recive the same error every time, I tried using an older version of Laz4Android (FPC 2.7.1 instead of latest 3.1.1), still no luck
What am I missing?

Thank you for helping

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Error when compiling app for android
« Reply #1 on: March 02, 2015, 08:25:27 pm »
Try to clean all old versions  properly and retry with 3.1.1.

criss6100

  • New Member
  • *
  • Posts: 24
Re: Error when compiling app for android
« Reply #2 on: March 03, 2015, 11:22:21 am »
I have removed all installed versions, and installed Android SDK, NDK r10c, and latest Laz4Android 1.5-47987-FPC3.1.1, but I still get the same error, do I need jdk 6, beacause I have installed the latest available (8)?

Thank you

 

TinyPortal © 2005-2018