:facepalm

Nevermind Steve, I just realized the dumb mistake I made (hadn't noticed 
the comment on the same line ). Your answer worked perfectly.


Thanks a million!

On Sunday, May 26, 2019 at 12:27:51 PM UTC-5, Mario Barón wrote:
>
> Hey Steve, 
>
> thank you very much for your help. I'm trying out the build hints you 
> mentioned, but I'm getting the following error when sending the build to 
> Android:
>
> Executing: /home/ec2-user/android/gradle-4.6/bin/gradle assembleRelease 
> --no-daemon --stacktrace --info Initialized native services in: 
> /home/ec2-user/.gradle/native
> To honour the JVM settings for this build a new JVM will be forked. Please 
> consider using the daemon: 
> https://docs.gradle.org/4.6/userguide/gradle_daemon.html.
> Starting process 'Gradle build daemon'. Working directory: 
> /home/ec2-user/.gradle/daemon/4.6 Command: 
> /home/ec2-user/jdk1.8.0_45/bin/java -XX:MaxPermSize=512m 
> -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m -Dfile.encoding=UTF-8 
> -Duser.country=US -Duser.language=en -Duser.variant -cp 
> /home/ec2-user/android/gradle-4.6/lib/gradle-launcher-4.6.jar 
> org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.6
> Successfully started process 'Gradle build daemon'
> An attempt to start the daemon took 0.927 secs.
> The client will now receive all logging from the daemon (pid: 15559). The 
> daemon log file: /home/ec2-user/.gradle/daemon/4.6/daemon-15559.out.log
> Daemon will be stopped at the end of the build stopping after processing
> Using 4 worker leases.
> Starting Build
> Settings evaluated using settings file 
> '/tmp/build6938342938423561325xxx/Ego/settings.gradle'.
> Projects loaded. Root project using build file 
> '/tmp/build6938342938423561325xxx/Ego/build.gradle'.
> Included projects: [root project 'Ego']
> Evaluating root project 'Ego' using build file 
> '/tmp/build6938342938423561325xxx/Ego/build.gradle'.
> Compiling build file '/tmp/build6938342938423561325xxx/Ego/build.gradle' 
> using SubsetScriptTransformer.
>
> FAILURE: Build failed with an exception.
>
> * Where:
> Build file '/tmp/build6938342938423561325xxx/Ego/build.gradle' line: 42
>
> * What went wrong:
> Could not compile build file 
> '/tmp/build6938342938423561325xxx/Ego/build.gradle'.
> > startup failed:
>   build file '/tmp/build6938342938423561325xxx/Ego/build.gradle': 42: 
> expecting ']', found 'lintOptions' @ line 42, column 5.
>          lintOptions {
>          ^
>   
>   1 error
>
> I'm not really sure what to do as I haven't touched anything related to 
> the lintOptions mentioned there. Could you please help me solve this? I 
> attach the resulting build.gradle file generated in the process.
>
>
> Thanks!
>
> On Friday, May 24, 2019 at 2:07:30 PM UTC-5, Steve Hannah wrote:
>>
>> Here are the build hints:
>>
>> for the maven { url '...} . that appears inside buildscript > 
>> repositories, you can use the android.repositories build hint
>>
>> for the classpath 'gradle.plugin.com....' inside buildscript > 
>> dependencies, you can use the android.topDependency build hint.
>>
>> for the manifestPlaceholders you can use 
>> the android.xgradle_default_config build hint.
>>
>> for the implementation 'com...' inside dependencies, you can use the 
>> android.gradleDep build hint.
>>
>> Steve
>>
>> On Fri, May 24, 2019 at 11:24 AM Mario Barón <[email protected]> wrote:
>>
>>> Hey guys, 
>>>
>>> can you please help me with this? 
>>>
>>> I greatly appreciate your help.
>>>
>>> El lunes, 20 de mayo de 2019, 23:16:58 (UTC-5), Mario Barón escribió:
>>>>
>>>> Hey guys,
>>>>
>>>> I need to integrate OneSignal with my Codename One app, and while 
>>>> reading the OneSignal documentation, it came up that I had to add the code 
>>>> found in the attached screenshot.
>>>>
>>>> How would I do this? By the way, for the time being, the app will be 
>>>> Android only.
>>>>
>>>>
>>>> Thanks in advance.
>>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "CodenameOne Discussions" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> Visit this group at 
>>> https://groups.google.com/group/codenameone-discussions.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/codenameone-discussions/703aabe9-72bd-43a1-a3d7-415029772181%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/codenameone-discussions/703aabe9-72bd-43a1-a3d7-415029772181%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> Steve Hannah
>> Software Developer
>> Codename One
>> http://www.codenameone.com
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9d0978d7-334b-4d6d-a65e-016687b33c90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to