Код: Выделить всё
import com.dd.plist.NSArray;
import com.dd.plist.NSDictionary;
import com.dd.plist.XMLPropertyListWriter;
public class Test1 {
public static void main(String[] args) {
// Example: Using NSDictionary
NSDictionary dict = new NSDictionary();
dict.put("key", "value");
// You can print or work with the dictionary contents.
System.out.println(dict);
}
}
Вот соответствующая конфигурация sourceSets в моем build.gradle :
Код: Выделить всё
sourceSets {
main {
java {
srcDirs = ['C:/vscode/test1/app/src/main/java', 'C:/vscode/test1/dd-plist-master/dd-plist-master/src/main/java/com/dd/plist']
}
}
}
Я правильно настроил модуль и путь и ожидал, что смогу без проблем использовать импортированные модули
Подробнее здесь: https://stackoverflow.com/questions/792 ... e-and-path
Мобильная версия