Показать сообщение отдельно
Старый 24.10.2016, 08:55
caseyryan вне форума Посмотреть профиль Отправить личное сообщение для caseyryan Найти все сообщения от caseyryan
  № 29  
Ответить с цитированием
caseyryan
 
Аватар для caseyryan

Регистрация: Jun 2012
Адрес: Новосибирск
Сообщений: 6,644
Записей в блоге: 4
Цитата:
Сообщение от Termer Посмотреть сообщение
Да flex
С чего бы это? Я вообще флексом не пользуюсь, только AIR SDK, и всегда все норм со всеми ANE
Цитата:
class file has wrong version 52.0, should be 50.0
Я бы на твоем месте в манифесте версию sdk понизить попробовал minSdkVersion. Посмотри какая там стоит. У меня норм собирает все с 15й, можно попробовать поставить 14

Кстати, в какой 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=
В этом случае FD гарантированно берет путь к джаве отсюда, а не из системной переменной, и в систему можно ставить любую версию джавы, не опасаясь ничего сломать
__________________
Ко мне можно и нужно обращаться на ты)