|
|
|||||
Регистрация: Dec 2012
Сообщений: 172
|
Termer, какой версией java jdk пользуетесь?
|
|
|||||
Регистрация: Dec 2010
Сообщений: 69
|
У меня 2 версии лежит, не помню 1.6 зачем нужна была, то ли FlashDevelop требовал то ли что. Основной 1.8 :
|
|
|||||
Регистрация: Dec 2012
Сообщений: 172
|
Пробовал на jdk1.8.0_111, jdk1.8.0_25, jdk1.8.0_05 - выскакивает такая ошибка:
На mac то же самое |
|
|||||
Регистрация: Dec 2010
Сообщений: 69
|
Что то с Android SDK, судя по ошибке у вас версия новее чем требуется. Как пофиксить не знаю.
|
|
|||||
Регистрация: Dec 2012
Сообщений: 172
|
Это ведь именно flex sdk нужна? Не adobe air?
|
|
|||||
Регистрация: Dec 2010
Сообщений: 69
|
Да flex
|
|
|||||
Регистрация: Dec 2012
Сообщений: 172
|
Поменял на airsdk 22,
[delete] Deleting directory C:\ANE-Push-Notification-master\ANE-Push-Notifica tion-master\android\temp swc: [exec] Error occurred during initialization of VM [exec] java/lang/NoClassDefFoundError: java/lang/Object BUILD FAILED C:\ANE-Push-Notification-master\ANE-Push-Notification-master\build\build.xml:72: exec returned: 1 ascsdk/23.0.0 - это не air sdk compiler? |
|
|||||
Регистрация: Dec 2010
Сообщений: 69
|
Да не, всё правильно нужен путь к flex sdk.
|
|
|||||
С чего бы это? Я вообще флексом не пользуюсь, только AIR SDK, и всегда все норм со всеми ANE
Цитата:
Кстати, в какой IDE кодишь? Случаем не FlashDevelop? Если в ней, то лучше всего захардкодить версию джавы в файл jvm.config, который должен лежать по пути AIR_SDK\bin У меня его содержимое такое ################################################################################ ## ## ADOBE SYSTEMS INCORPORATED ## Copyright 2007 Adobe Systems Incorporated ## All Rights Reserved. ## ## NOTICE: Adobe permits you to use, modify, and distribute this file ## in accordance with the terms of the license agreement accompanying it. ## ################################################################################ # # VM configuration # # Where to find JVM, if {java.home}/jre exists then that JVM is used # if not then it must be the path to the JRE itself # # If no java.home is specified a VM is located by looking in these places in this # order: # # 1) JAVA_HOME environment variables (same rules as java.home above) # 2) bin directory for java.dll (windows) or lib/<ARCH>/libjava.so (unix) # 3) ../jre # 4) registry (windows only) # java.home=C:\Program Files (x86)\Java\jre1.6.0_05 #java.home=C:\Java\jdk1.8.0_40 # Arguments to VM java.args=-Xmx1536m -Dsun.io.useCanonCaches=false # Environment variables we care about, whitespace-separated env= # java.class.path - use this for adding individual jars or # directories. When directories are included they will be searched # for jars and zips and they will be added to the classpath (in # addition to the directory itself), the jar to be used in launching # will be appended to this classpath java.class.path= # # where to find shared libraries, again use commas to separate entries java.library.path=
__________________
Ко мне можно и нужно обращаться на ты) |
|
|||||
Регистрация: Dec 2012
Сообщений: 172
|
Не совсем понял, где указывать minSdkVersion?
Добавлено через 25 минут Добавил jvm.config, но все равно пишет, что ошибка в 72-ой строке build.xml: |
Часовой пояс GMT +4, время: 23:01. |
|
« Предыдущая тема | Следующая тема » |
|
|