Recent

Author Topic: Old projects crashed when updated LAMW  (Read 1118 times)

Agmcz

  • New Member
  • *
  • Posts: 46
Old projects crashed when updated LAMW
« on: June 20, 2022, 07:39:34 pm »
Hi all mebmers

Old projects crashed (app start) when updated LAMW.

What is the solution to get back to work? I don't want to recreate projects again...
« Last Edit: June 21, 2022, 01:39:24 am by Agmcz »

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Old projects crashed when updated LAMW
« Reply #1 on: June 21, 2022, 05:47:56 am »
Hi, Agmcz!


Are you using "Gradle"  or "Ant" ?

Edited: I "rollback" some advanced changes to maintain "Ant" compatibility....
« Last Edit: June 21, 2022, 06:37:11 am by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Agmcz

  • New Member
  • *
  • Posts: 46
Re: Old projects crashed when updated LAMW
« Reply #2 on: June 21, 2022, 09:55:33 am »
Hi jmpessoa

I'm using Gradle

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Old projects crashed when updated LAMW
« Reply #3 on: June 21, 2022, 07:14:55 pm »
Quote
I'm using Gradle...


Can you try read some "error" log?  (look for  "adb"   into "\sdk\platform-tools" folder...)


Alternatively: 
you can create a new "gradle" project and compare the files  "build.gradle"  and "AndroidManifest.xml"
with existing one in your application...


I will be here trying to help....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Agmcz

  • New Member
  • *
  • Posts: 46
Re: Old projects crashed when updated LAMW
« Reply #4 on: June 25, 2022, 07:27:08 pm »
HI

after comparing "build.gradle" file in old and new project: there is no difference  :o

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Old projects crashed when updated LAMW
« Reply #5 on: June 25, 2022, 11:04:06 pm »
Quote
after comparing "build.gradle" file in old and new project: there is no difference ....

and about "AndroidManifest.xml"?

(well, in the meantime, maybe you should update LAMW again...)
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Agmcz

  • New Member
  • *
  • Posts: 46
Re: Old projects crashed when updated LAMW
« Reply #6 on: June 26, 2022, 10:28:03 am »
Yes, after comparing "AndroidManifest.xml" file in old and new project: there is a difference.
I also note addition "mipmap" may be reason.

 

TinyPortal © 2005-2018