forked from qt-creator/qt-creator
Add android-build/libs/<ABI> to solibSearchPath
All android libs that can be loaded are placed in android-build/libs/ <abi>/. These libs are not stripped anymore, so let's add also this folder to solibSearchPath. Change-Id: I34de8bf7ee68725903fd7250a39b407c6ae57cac Reviewed-by: hjk <hjk@qt.io> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
@@ -145,6 +145,11 @@ void AndroidDebugSupport::start()
|
|||||||
if (activeRunConfig)
|
if (activeRunConfig)
|
||||||
solibSearchPath.append(activeRunConfig->buildTargetInfo().workingDirectory.toString());
|
solibSearchPath.append(activeRunConfig->buildTargetInfo().workingDirectory.toString());
|
||||||
solibSearchPath.append(buildDir.toString());
|
solibSearchPath.append(buildDir.toString());
|
||||||
|
const auto androidLibsPath = AndroidManager::androidBuildDirectory(target)
|
||||||
|
.pathAppended("libs")
|
||||||
|
.pathAppended(AndroidManager::apkDevicePreferredAbi(target))
|
||||||
|
.toString();
|
||||||
|
solibSearchPath.append(androidLibsPath);
|
||||||
solibSearchPath.removeDuplicates();
|
solibSearchPath.removeDuplicates();
|
||||||
setSolibSearchPath(solibSearchPath);
|
setSolibSearchPath(solibSearchPath);
|
||||||
qCDebug(androidDebugSupportLog) << "SoLibSearchPath: "<<solibSearchPath;
|
qCDebug(androidDebugSupportLog) << "SoLibSearchPath: "<<solibSearchPath;
|
||||||
|
Reference in New Issue
Block a user