https://linen.dev logo
Join Discord
Powered by
# lime
  • s

    square-angle-35096

    01/04/2023, 11:26 PM
    ye ik
  • a

    able-action-74275

    01/04/2023, 11:26 PM
    and that is done with
    setup android
  • s

    square-angle-35096

    01/04/2023, 11:26 PM
    i need to rerun lime setup
  • a

    able-action-74275

    01/04/2023, 11:26 PM
    or by editing a file which I can't remember where it lives on windows
  • s

    square-angle-35096

    01/04/2023, 11:27 PM
    dude i hate how some companies bitch so much about downloading older versions of their programs
  • s

    square-angle-35096

    01/04/2023, 11:27 PM
    like
  • s

    square-angle-35096

    01/04/2023, 11:27 PM
    the java jdk
  • s

    square-angle-35096

    01/04/2023, 11:27 PM
    duhhh make a oracle account
  • a

    able-action-74275

    01/04/2023, 11:27 PM
    heh the old lime documentation still recommends ndk 15c
  • s

    square-angle-35096

    01/04/2023, 11:27 PM
    lol
  • a

    able-action-74275

    01/04/2023, 11:27 PM
    yeah I remember needing to get an oracle account last time I tried this
  • s

    square-angle-35096

    01/04/2023, 11:28 PM
    i had to download it from github or smth
  • s

    square-angle-35096

    01/04/2023, 11:28 PM
    then i had to mess up with some windows configurations
  • s

    square-angle-35096

    01/04/2023, 11:28 PM
    for it to recognize the java jdk path
  • a

    able-action-74275

    01/04/2023, 11:28 PM
    lol sounds like fun
  • e

    elegant-twilight-61392

    01/04/2023, 11:34 PM
    openfl is literally an alias for lime
  • e

    elegant-twilight-61392

    01/04/2023, 11:35 PM
    even though they show a different logo if you do just
    openfl
    or just
    lime
    , the lime binary has both lmao
  • e

    elegant-twilight-61392

    01/04/2023, 11:38 PM
  • r

    rhythmic-wolf-50922

    01/04/2023, 11:50 PM
    no oracle account needed if you get OpenJDK. example: https://adoptium.net/
  • a

    able-action-74275

    01/04/2023, 11:50 PM
    I thought as much but never use the openfl variant so wasn't certain
  • r

    refined-cat-44047

    01/05/2023, 6:15 AM
    My project targets Flash/AIR for iOS (legacy project 😉 ). I need to add an iOS permission. In a normal Flash project, I would add this to the application.xml:
    Copy code
    <key>NSMicrophoneUsageDescription</key>
    <string>Microphone required</string>
    But how would I do that in Haxe/Lime/OpenFL? I assume I need to add something to the Project.xml, but can't figure out what. Or is it something to do with the "template"?
  • h

    high-magician-37091

    01/05/2023, 7:50 AM
    How do I set the variable for ::ANDROID_GRADLE_PLUGIN:: from project.xml?
  • h

    high-magician-37091

    01/05/2023, 8:00 AM
    there is a setter here on AndroidPlatform.hx, but I can't find on how to change the version of android gradle plugin anywhere
  • h

    high-magician-37091

    01/05/2023, 8:00 AM
    > context.ANDROID_GRADLE_PLUGIN = project.config.getString("android.gradle-plugin", "3.5.4");
  • h

    high-magician-37091

    01/05/2023, 8:09 AM
    I just changed the version directly on the template code, which is not the best way to do it
  • h

    hallowed-forest-58641

    01/05/2023, 8:25 AM
  • h

    high-magician-37091

    01/05/2023, 9:05 AM
    thanks for the quick response, it works
  • h

    high-magician-37091

    01/05/2023, 10:18 AM
    is there a way to modify build.gradle without directly modifying the template? I want to add a line at the end of build.gradle > apply plugin: 'com.google.gms.google-services'
  • h

    high-magician-37091

    01/05/2023, 10:30 AM
    and also adding > classpath 'com.google.gms:google-services:4.3.14'
  • h

    hallowed-forest-58641

    01/05/2023, 10:48 AM
    You could override the templates directory on Lime and replace only the files you want/ See here : https://community.openfl.org/t/android-how-to-edit-override-mainactivity-java/12407/2 . This is the template directory in Lime : https://github.com/openfl/lime/tree/develop/templates/android/template
1...464748...138Latest