Recent

Author Topic: [SOLVED] LAMW : Error while loading lamw projects  (Read 2238 times)

sameer

  • New Member
  • *
  • Posts: 12
[SOLVED] LAMW : Error while loading lamw projects
« on: June 04, 2018, 10:06:44 am »
Hi,

I have downloaded and installed 0.8 lamw.
i am using : Win 7, laz4android, java 1.8, sdk 27, ndk 24, ant

I am getting error while trying to load any lamw project. (Even demos). Other Lazarus projects load ok.

I have already tried uninstalling/reinstalling Laz4android. It did not resolve the error.

Can anybody help me ?

-Sam
« Last Edit: June 28, 2018, 11:41:33 am by sameer »

jmpessoa

  • Hero Member
  • *****
  • Posts: 1623
Re: LAMW : Error while loading lamw projects
« Reply #1 on: June 06, 2018, 11:51:12 pm »
Hi sameer!

Can you create a new LAMW project?
« Last Edit: June 08, 2018, 07:56:24 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

sameer

  • New Member
  • *
  • Posts: 12
Re: LAMW : Error while loading lamw projects
« Reply #2 on: June 07, 2018, 07:13:12 am »
Hi jmpessoa,

Yes, i can create project / save project /build debug apk for project.

However, if i try to open any project i get error.
« Last Edit: June 07, 2018, 07:15:46 am by sameer »

jmpessoa

  • Hero Member
  • *****
  • Posts: 1623
Re: LAMW : Error while loading lamw projects
« Reply #3 on: June 08, 2018, 07:53:01 pm »

1) Can you open the [own] recent  created project?

2) Please, go to folder lazarus/config and put here  the "JNIAndroidProject.ini" content...
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

sameer

  • New Member
  • *
  • Posts: 12
Re: LAMW : Error while loading lamw projects
« Reply #4 on: June 11, 2018, 12:24:36 pm »
Hi,

I cannot open any project created by anybody. I can create new projects.

The contents of my "JNIAndroidProject.ini" -->

Code: Diff  [Select][+][-]
  1. [NewProject]
  2. PathToNdkPlataforms=D:\lamw\android-ndk-r14b
  3. PathToJavaTemplates=D:\lamw\lazandroidmodulewizard-master\java
  4. PathToJavaJDK=D:\Users\Public\jdk1.8.0_151
  5. PathToAndroidNDK=D:\lamw\android-ndk-r14b
  6. PathToAndroidSDK=D:\lamw\android-sdk-windows
  7. PathToAntBin=D:\lamw\apache-ant-1.9.11\bin
  8. NDK=5
  9. PrebuildOSYS=windows
  10.  


PS : I checked all the paths in the "JNIAndroidProject.ini" are valid.

 

TinyPortal © 2005-2018