Sam Protsenko 12b56395dc hello-libs: Add abiFilters to gen-libs module
After updating Android Studio to v3.0.1 (and Gradle plugin to v3.0.1),
I noticed that libhello-libs.so is being built for more architectures
than libgperf.so. Also I noticed that app/build.gradle has abiFilters,
but gen-lib/build.gradle doesn't. This leads to linking errors. That
issue is reported as #450. See [1] for details.

Adding the same abiFilters line to gen-lib/build.gradle fixes the issue.

While at it, remove armeabi architecture from app/build.gradle
abiFilters, as it's deprecated now. See [2] for details.

[1] https://github.com/googlesamples/android-ndk/issues/450
[2] https://developer.android.com/ndk/guides/abis.html

Signed-off-by: Sam Protsenko <joe.skb7@gmail.com>
2017-11-23 00:11:03 +02:00
2017-11-18 11:46:52 -05:00
2017-07-24 20:51:27 -07:00
2017-10-31 14:53:03 -07:00
2017-07-24 20:51:27 -07:00
2016-06-07 23:25:54 -07:00
2017-10-31 14:53:03 -07:00

NDK Samples Build Status Build status

This repository contains Android NDK samples with Android Studio C++ integration.

These samples uses the new CMake Android plugin with C++ support.

Additional Android Studio samples:

Documentation

Known Issues

For samples using Android.mk build system with ndk-build see the android-mk branch.

Build Steps

  • With Android Studio: use "Import Project(Eclipse ADT, Gradle, etc)" or "File" > "Import Project" option
  • On Command Line/Terminal: make sure set up ANDROID_HOME and ANDROID_NDK_HOME to local installation of SDK and NDK, then go to individual sample dir, and use "gradlew assembleDebug"

Debugging

Support

If you've found an error in these samples, please file an issue.

Patches and new samples are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.

License

Copyright 2015 The Android Open Source Project, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

LICENSE

Description
No description provided
Readme Apache-2.0 99 MiB
Languages
C++ 92.2%
Java 3.4%
C 2.9%
GLSL 0.6%
CMake 0.5%
Other 0.4%