I'm trying to import Solana.kt library - https://github.com/ajamaica/Solana.kt into my android project, so I could try creating solana wallet/sending tokens. I'm noob, so I can't figure out how do I go exactly adding library into the project and then how to I use it? (For example from my MainActivity I want to click button to create wallet). Library code is like this -
So my main questions are
I think it helps to include the local SDK to your own project:
solana
folder to your main project folder ( ctrl+c & ctrl+v )include ':app', ':solana'
project(':solana').projectDir = new File(settingsDir, 'solana')
build.gradle
file and put this: implementation project(path: ':solana')
If your version of configure files are suitable with sdk files, this should work
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.