Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this community.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
"[NOTICE]" About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to System Requirements for details.
We will not respond to any related inquiries with this message.
Please note that Cubism SDK is not supported with Apple M1 processors and macOS 11.0 Big Sur.
Live2D user has created a tutorial video(unoffilcial) in English. SEE ALSO.
Thank you, brian_tsui!
[Live2D Tutorial 2020] Introduction to Tools and Technical Concepts

live2d sdk for android studio

do we need to import the framework or the lib folder to android studio in order to use it?
and how do we do that?
Tagged:

Answers

  • Hi, @catCoder

    To use the Cubism SDK, you need to import the Framework and Cubism Core libraries (lib folder).
    Cubism Framework is a C++ source code, so please add it as a file to build.
    Please add a reference to the lib folder when you build it as well.
    We have included it in our CMakeLists.txt file.
    Samples\OpenGL\Demo\proj.android.cmake\app\CMakeLists.txt
    Framework\CMakeLists.txt
    If you want to use them in Java or Kotlin, you may need to use the Java Native Interface.

    Or refer to the official Android Developer page to add them.
    https://developer.android.com/studio/projects/add-native-code?hl=en
    https://developer.android.com/ndk/guides/prebuilts?hl=en
  • thank you for the answer however i still have some issues after running the sample cmake. please help

    issues and questions:
    1. google play now demends a 64 bit version of the ndk code/libraries and there is only 32 bit for the Cubism Core librarie(no x86_64 for android).
    2. am i allowed to use the sample c++ demo library in my own application and change it (for Commercial use), coding all the JNI is a lot of work that is allready done in the sample.
    3. afrer running the sample cmake file for my app it does not add the code as libraries(static and shared) like in the sample to the project but as refrenced files(i have added a screen shot of the problem to the comment)
  • thank you for the answer however i still have some issues after running the sample cmake. please help

    issues and questions:
    1. google play now demends a 64 bit version of the ndk code/libraries and there is only 32 bit for the Cubism Core librarie(no x86_64 for android).
    2. am i allowed to use the sample c++ demo library in my own application and change it (for Commercial use), coding all the JNI is a lot of work that is allready done in the sample.
    3. afrer running the sample cmake file for my app it does not add the code as libraries(static and shared) like in the sample to the project but as refrenced files(i wanted added a screen shot of the problem to the comment but it says 'You are not allowed to upload files in this category')
  • edited March 9
    1. Cubism SDK includes the arm64-v8a library for Android. This is an ARM CPU with 64bit support.
    There are also armeabi-v7a and x86 libraries. The x86_64 library is not included because the terminal does not exist. Can't find this?
    https://developer.android.com/ndk/guides/abis?hl=en#arm64-v8a

    2. c++ demo library code can be changed and used.
    and if you are not part of a company or are a small business with little sales, you can use it for free.
    But beyond that, you will need to sign a contract.
    For more information, please check the license agreement description or contact SDK release licensing form.
    https://www.live2d.com/en/download/cubism-sdk/release-license/
    https://www.live2d.jp/eng/contact/?redirect=1

    3. I don't understand the problem. Is there a technical problem?
    The configuration should match the app you are creating.
    If you want to run the same configuration as Cubism SDK sample, please refer to CMakeLists.txt.
    https://github.com/Live2D/CubismNativeSamples/blob/develop/Samples/OpenGL/Demo/proj.android.cmake/app/CMakeLists.txt#L29-48
    Can I upload a screenshot as jpg or png?
  • 2. i contacted Live2D Inc. Int'l Licensing in my case i got an email telling i need to provide details of my content through a form i did and sended an email back to
    Live2D Inc. Int'l Licensing with all the informaition but did not get an answer back
    do i need to send the message from the site again?

    3. i added screen shots of what is the problem i got the problem after running the CMakeLists.txt(regardless of the problem the code still runs the sample without issues)
    can i still use the app like this?
    issue 3: is the problem(no libraries only refrenced files)
    sampleExample: is what it looks like in the sample(static and shared libraries)
  • i sent you a message directly please read it.
  • 2. I am very sorry.
    Please answer a few questions in my DMs so that I can verify that you are the person who contacted me.

    1. email address
    2. your name (wrote in email)
    3. company name
    4. the content of the last email you sent

    3. I have checked the attached image.
    This is a source code configuration issue, so your application configuration should be fine to run.
Sign In or Register to comment.