简体   繁体   English

是否可以将apk文件转换为IPA文件?

[英]Is it possible to convert apk file to IPA file?

Is it possible to convert apk file produced for Android to ipa file for Iphone?是否可以将为 Android 生成的 apk 文件转换为 Iphone 的 ipa 文件?

Android apk can't be converted to iOS ipa. Android apk 无法转换为 iOS ipa。 Only possibility is either you devlop cross platform(xamrin/react native/ionic/flutter) app project which can share common code and some android/ios platform specific code.唯一的可能是您开发跨平台(xamrin/react native/ionic/flutter)应用程序项目,该项目可以共享通用代码和一些 android/ios 平台特定代码。

In short, the answer is No.简而言之,答案是否定的。

APK and IPA are extensions that will serve different platforms and their architecture won't be the same, too. APK 和 IPA 是服务于不同平台的扩展,它们的架构也不相同。

You can try hybrid app development to add platforms: android and ios at the same time.您可以尝试混合应用开发同时添加平台:android 和 ios。 Example: Flutter, React Native, Ionic, Cordova示例:Flutter,React Native,离子,Cordova

It cannot be transformed, but you can generate it from ionic, since ionic is a hybrid platform, therefore you can generate from there a version for android and another for ios.它无法转换,但您可以从 ionic 生成它,因为 ionic 是一个混合平台,因此您可以从那里生成 android 的版本和 ios 的版本。

You can see a way here你可以在这里看到一个方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM