I want to add the propery android:largeHeap="true" to android.xapplication_attr 
but if i do it with the build hint editor in the CN1 Eclipse plugin, the build 
server fails to build with the following error:


:generateReleaseBuildConfig[Fatal Error] :15:89: Open quote is expected for 
attribute "{1}" associated with an  element type  "android:largeHeap".

:generateReleaseBuildConfig (Thread[Daemon worker,5,main]) completed. Took 
0.055 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Cannot read packageName from 
/tmp/build1477764312227892382xxx/AveedoMobile/src/main/AndroidManifest.xml

* Try:
Run with --debug option to get more log output.

* Exception is:
java.lang.RuntimeException: Cannot read packageName from 
/tmp/build1477764312227892382xxx/AveedoMobile/src/main/AndroidManifest.xml
        at 
com.android.builder.core.VariantConfiguration.getPackageFromManifest(VariantConfiguration.java:999)
        at 
com.android.builder.core.VariantConfiguration.getOriginalApplicationId(VariantConfiguration.java:780)
        at 
com.android.build.gradle.tasks.GenerateBuildConfig$ConfigAction$_execute_closure1.doCall(GenerateBuildConfig.groovy:167)
        at 
com.android.build.gradle.tasks.GenerateBuildConfig$ConfigAction$_execute_closure1.doCall(GenerateBuildConfig.groovy)
        at 
org.gradle.api.internal.ConventionAwareHelper$2.getValue(ConventionAwareHelper.java:84)
        at 
org.gradle.api.internal.ConventionAwareHelper$MappedPropertyImpl.getValue(ConventionAwareHelper.java:136)
        at 
org.gradle.api.internal.ConventionAwareHelper.getConventionValue(ConventionAwareHelper.java:114)
        at 
com.android.build.gradle.tasks.GenerateBuildConfig_Decorated.getBuildConfigPackageName(Unknown
 Source)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)



in the codenameone_settings.properties it will look like

codename1.arg.android.xapplication_attr=android\:largeHeap\="true"

how to pass the argument in the correct way?

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/3d8babf8-897d-44c9-8591-82e7171a75c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to