Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

PDF Image converter plugin , Android Build Error : Build Failed: Failed to Build , Error code: 256
Started by BK PANARA Dec 22 2019 10:51 PM

2 replies to this topic
pdf image converter build error 256 android build error
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

BK PANARA

[GLOBAL: userInfoPane.html]
BK PANARA
  • Enthusiast

  • 76 posts
  • Corona SDK

Hi @Scott Harrison,

I am using Corona SDK Build: 2019.3555.
Mac OS X : Catalina , Version : 10.15.2

you can see jdk details in the log below.
I have purchased this plugin and using from last 6 months.
When I had old Mac OS X and old corona build , it was working fine.

But after I install fresh Mac OS X Catalina and install Corona SDK (2019.3555) , I can't build with this plugin in my build.settings file.

I have tried your sample App to build and here is the error log.
 

Dec 23 12:01:28.603 Copyright (C) 2009-2019  C o r o n a   L a b s   I n c .
                    	Version: 3.0.0
                    	Build: 2019.3555
Dec 23 12:01:28.610 Loading project from:   ~/Desktop/pdfImageConverter-demo-master
Dec 23 12:01:28.610 
Dec 23 12:01:28.613 Project sandbox folder: ~/Library/Application Support/Corona Simulator/pdfImageConverter-demo-master-9754A0975AE11DD9ED635B87F922A77C
Dec 23 12:01:28.625 Platform: iPhone / x86_64 / 10.15.2 / Intel HD Graphics 4000 OpenGL Engine / 2.1 INTEL-14.3.9 / 2019.3555 / en-GB | IN | en_IN | en
Dec 23 12:01:29.829 File found: coronaImage.png.txt
Dec 23 12:01:52.022 Copyright (C) 2009-2019  C o r o n a   L a b s   I n c .
                    	Version: 3.0.0
                    	Build: 2019.3555
Dec 23 12:01:52.029 Loading project from:   ~/Desktop/pdfImageConverter-demo-master
Dec 23 12:01:52.030 Project sandbox folder: ~/Library/Application Support/Corona Simulator/pdfImageConverter-demo-master-9754A0975AE11DD9ED635B87F922A77C
Dec 23 12:01:52.039 Platform: iPhone / x86_64 / 10.15.2 / Intel HD Graphics 4000 OpenGL Engine / 2.1 INTEL-14.3.9 / 2019.3555 / en-GB | IN | en_IN | en
Dec 23 12:01:53.280 File found: coronaImage.png.txt
Dec 23 12:01:57.984 Using java version "1.8.0_231"
                    Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
                    Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Dec 23 12:02:38.682 Using java version "1.8.0_231"
                    Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
                    Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Dec 23 12:02:39.379 Building Android app for panarabk@gmail.com with 2019.3555
Dec 23 12:02:40.765 Using custom build id from app bundle: 00000 (AppSettings.lua)
Dec 23 12:02:44.043 BUILD SUCCESSFUL
                    Total time: 2 seconds
Dec 23 12:03:12.590 PANIC: unprotected error in call to Lua API (bad argument #1 to 'pairs' (table expected, got nil))
Dec 23 12:03:12.612 PANIC: fatal Lua error: bad argument #1 to 'pairs' (table expected, got nil)
                    Error while fetching plugin dependencies
Dec 23 12:03:12.685 FAILURE: Build failed with an exception.
Dec 23 12:03:12.686 * Where:
Dec 23 12:03:12.686 Build file '/private/var/folders/8x/cr0jkcs94m70n_s7zs_xxwmc0000gn/T/CLtmpIExRcS/template/app/build.gradle.kts' line: 626
                    
                    * What went wrong:
Dec 23 12:03:12.687 Error while fetching plugin dependencies
                    
                    * Try:
                    Run with 
Dec 23 12:03:12.687 --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with 
Dec 23 12:03:12.688 --scan to get full insights.
                    
                    * Get more help at https://help.gradle.org
Dec 23 12:03:12.688 BUILD FAILED in 27s
Dec 23 12:03:13.164 Android build failed (256) after 33 seconds
Dec 23 12:03:13.559 ERROR: Build Failed: Failed to Build
                    
                    Error code: 256

-- Please Help me to solve this issue , so I can build for Android.

Let me know if you need any other details from me.

Thank you.
Bhavin :)



[TOPIC: post.html]
#2

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,842 posts
  • Enterprise

This has been patched please rebuild.


  • BK PANARA likes this

[TOPIC: post.html]
#3

BK PANARA

[GLOBAL: userInfoPane.html]
BK PANARA
  • Enthusiast

  • 76 posts
  • Corona SDK

Yes, I can build now without any error.

Thank you so much Scott.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: pdf image converter, build error 256, android build error