Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
5eadf662
Commit
5eadf662
authored
Jan 22, 2015
by
j4cbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #50 from mbrgm/master
Add sample file and documentation for NDK path specification
parents
b302785d
bc4b2032
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
example/README.md
example/README.md
+24
-0
example/local.properties.sample
example/local.properties.sample
+1
-0
No files found.
example/README.md
View file @
5eadf662
...
...
@@ -56,3 +56,27 @@ Making Changes to Djinni file
-----------------------------
The Djinni file used in this example is
`example.djinni`
. After modifying this file, you can run
either
`make android`
or
`make ios`
to generate the source code and new project files.
Troubleshooting
---------------
### Android build fails — NDK not configured
If you're getting this error:
> NDK is not configured. Make sure there is a local.properties file with an ndk.dir entry in the directory
then gradle can not find your NDK installation. First make sure that you've
installed the NDK. On Mac OS X, you can install easily via
[
homebrew
](
http://brew.sh/
)
:
`brew install android-ndk`
After that, you have to tell gradle where the location of the NDK location.
This can happen by either setting the
`ANDROID_NDK_HOME`
environment variable
to the path where the NDK was installed, or by creating a
`local.properties`
file in the project directory.
This file must contain the
`ndk.dir=<path-to-ndk>`
setting. A
[
`local.properties.sample`
](
local.properties.sample
)
file is included with this
example. In order to use it, you have to rename it to
`local.properties`
and
replace
`<path-to-ndk>`
with the real path to your NDK installation.
example/local.properties.sample
0 → 100644
View file @
5eadf662
ndk.dir=<path-to-ndk>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment