yandexmobile/yandexmapkit-android — Issue #27: Сборка проекта в NetBeans
Author: SpbApp
Created: 2012-01-12 16:41:54+00:00
State: open

Пытаюсь собрать проект NetBeans IDE 6.9.1. Делаю так:
А)
1. File->Open Project->yandexmapkit-library
2. Получаю предупреждение: Android library project needs to be updated with SDK tools
3. Делаю Update broken project->Target Android 2.1
4. Предупреждение исчезает.
5. Clean and Build Main Project
Результат:
Gathering info for yandexmapkit-library...
Android SDK Tools Revision 15
Project Target: Android 2.1
API level: 7
Project Type: Android Library
------------------
Resolving library dependencies:
No library dependencies.
------------------
WARNING: Attribute minSdkVersion in AndroidManifest.xml (4) is lower than the project target API level (7)
Creating output directories if needed...
Created dir: D:\Java\yandexmapkit-library\bin
Created dir: D:\Java\yandexmapkit-library\bin\res
Created dir: D:\Java\yandexmapkit-library\bin\classes
----------
Handling aidl files...
E:\android-sdk-windows\tools\ant\build.xml:539: The following error occurred while executing this line:
elseText="hasCode = false. Skipping aidl/renderscript/R.java">
E:\android-sdk-windows\tools\ant\build.xml:543: D:\Java\yandexmapkit-library\src does not exist.
genFolder="${gen.absolute.dir}">
BUILD FAILED (total time: 0 seconds)
==========================================
В)
1. File->Open Project->yandexmapkit-sample
2. Properties->Libraries->Add yandexmapkit-library
3. В папке Libraries проекта: yandexmapkit-library и Broken platform
4. Результат:
Gathering info for yandexmapkit-sample...
Android SDK Tools Revision 15
Project Target: Android 2.1
API level: 7
------------------
Resolving library dependencies:
D:\Java\yandexmapkit-sample: ../yandexmapkit-library => D:\Java\yandexmapkit-library
------------------
Ordered libraries:
D:\Java\yandexmapkit-library
------------------
WARNING: Attribute minSdkVersion in AndroidManifest.xml (4) is lower than the project target API level (7)
Building Libraries
Gathering info for yandexmapkit-library...
Android SDK Tools Revision 15
Project Target: Android 2.1
API level: 7
Project Type: Android Library
------------------
Resolving library dependencies:
No library dependencies.
------------------
WARNING: Attribute minSdkVersion in AndroidManifest.xml (4) is lower than the project target API level (7)
Creating output directories if needed...
Created dir: D:\Java\yandexmapkit-library\bin
Created dir: D:\Java\yandexmapkit-library\bin\res
Created dir: D:\Java\yandexmapkit-library\bin\classes
----------
Handling aidl files...
E:\android-sdk-windows\tools\ant\build.xml:466: The following error occurred while executing this line:
failonerror="true"/>
E:\android-sdk-windows\tools\ant\build.xml:539: The following error occurred while executing this line:
elseText="hasCode = false. Skipping aidl/renderscript/R.java">
E:\android-sdk-windows\tools\ant\build.xml:543: D:\Java\yandexmapkit-library\src does not exist.
genFolder="${gen.absolute.dir}">
BUILD FAILED (total time: 0 seconds)

Перепробовал все варианты. Результат один и тот же(((
Как правильно собрать и скомпилировать проект в NetBeans???