我尝试过使用
PlatformFactory.getPlatform().getPrivateStorage()
但它声明无法找到符号......
请帮助
答案 0 :(得分:2)
只需将此添加到build.gradle中:
ext.CHARM_DOWN_VERSION = '1.0.0'
dependencies {
compile "com.gluonhq:charm-down-common:$CHARM_DOWN_VERSION"
desktopRuntime "com.gluonhq:charm-down-desktop:$CHARM_DOWN_VERSION"
androidRuntime "com.gluonhq:charm-down-android:$CHARM_DOWN_VERSION"
iosRuntime "com.gluonhq:charm-down-ios:$CHARM_DOWN_VERSION"
}
几天前,何塞·佩雷达帮我解决了这个问题。