Recent

Author Topic: LAMW - Simple newly created project cannot be built  (Read 213 times)

CC

  • Full Member
  • ***
  • Posts: 124
LAMW - Simple newly created project cannot be built
« on: June 30, 2019, 04:41:39 pm »
Hi,

Cfg:
Lazarus, FPC : Latest Fixes branch
LAMW: Latest git
Min SDK: 14
Target SDK: 28
Chipset: ARMv7a+FPv3
Gradle: 5.1.1
 
Messages, Hints: 2
Verbose: Selected chip architecture: armeabi-v7a
Verbose: Taking libraries from folder: C:\A\Test\AppLAMWProject13\libs\armeabi-v7a
Verbose: Found library: libcontrols.so
Note: Duplicate unit "controls" in "controls", orphaned ppu "C:\A\Test\AppLAMWProject13\obj\controls\controls.o"
Note: Duplicate unit "controls" in "LCLBase 2.0.3", ppu="D:\fpcupdeluxe_fixes\lazarus\lcl\units\arm-android\controls.ppu", source="D:\fpcupdeluxe_fixes\lazarus\lcl\controls.pp"
Compile Project, OS: android, CPU: arm, Target: C:\A\Test\AppLAMWProject13\libs\armeabi-v7a\libcontrols.so: Success
Building APK (Gradle)... : FAILURE: Build failed with an exception., Errors: 1
Fatal: FAILURE: Build failed with an exception.
* Where:
Build file 'C:\A\Test\AppLAMWProject13\build.gradle' line: 58
* What went wrong:
A problem occurred evaluating root project 'AppLAMWProject13'.
> Cannot add task 'wrapper' as a task with that name already exists.
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Picked up _JAVA_OPTIONS: -Xmx512M
Exception, Errors: 1
Fatal: [Exception] Failed: Cannot build APK!
« Last Edit: June 30, 2019, 04:49:11 pm by CC »

CC

  • Full Member
  • ***
  • Posts: 124
Re: LAMW - Simple newly created project cannot be built
« Reply #1 on: June 30, 2019, 04:51:37 pm »
Please ignore for now!

CC

  • Full Member
  • ***
  • Posts: 124
Re: LAMW - Simple newly created project cannot be built
« Reply #2 on: June 30, 2019, 05:05:19 pm »
I have tried to remove this topic, but did not work.  Modererators, please delete it if possible.