The paper introduces a Deep Ensemble Framework (DEF) for the automatic detection of Android malware using convolutional neural networks (CNN) and long short-term memory (LSTM) techniques. The proposed system enhances existing deep learning methods by implementing a stacking ensemble approach that integrates knowledge from both models, thereby improving malware detection accuracy and speed. Experimental results demonstrate that this framework outperforms many traditional methods in terms of efficiency and effectiveness in malware classification.